Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8119641

Gtk: Window close cannot be prevented

XMLWordPrintable

      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.

        1. ubuntu13.png
          206 kB
          Victor Shubov

            azvegint Alexander Zvegintsev
            jcambon Jerome Cambon
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: