- 
    Bug 
- 
    Resolution: Fixed
- 
     P2 P2
- 
    7u10
                    Using the setOnCloseRequest() method on Stage, one cannot prevent the window on Linux.
See the attached test case:
Run the project, and close the window. A popup window appears, click the Cancel button.
The 2 windows are closed, although the window close event is consumed.
This test case works as expected on Windows and Mac.
See the attached test case:
Run the project, and close the window. A popup window appears, click the Cancel button.
The 2 windows are closed, although the window close event is consumed.
This test case works as expected on Windows and Mac.
- duplicates
- 
                    JDK-8118954 Gtk: OnCloseRequest event handler doesn't prevent the stage from disappearing on Linux even after consuming the event. -           
- Resolved
 
-         
- 
                    JDK-8118160 Cancel button on exit does not work (Linux) -           
- Closed
 
-         
