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

Gtk: OnCloseRequest event handler doesn't prevent the stage from disappearing on Linux even after consuming the event.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u6
    • javafx
    • None
    • Linux x86_64 Ubuntu 12.04 with JDK/JRE 7u7

      When consuming the event inside an OnCloseRequest event handler the stage still disappears on Linux (Ubuntu 12.04, using JDK/JRE 7u7 from Oracle), but works correctly on Windows. I noticed that the application keeps running if I consume the event, otherwise the application is terminated as expected (on both systems).

      Attached is a class that shows the error.

            azvegint Alexander Zvegintsev
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: