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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 7u6
    • Component/s: javafx
    • None
    • Environment:

      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.

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

              Created:
              Updated:
              Resolved:
              Imported: