Gtk: Consuming close request event doesn't prevent application shutdown

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • 8
    • Affects Version/s: 7u21
    • Component/s: javafx
    • None
    • Environment:

      Ubuntu 12.04, JavaFX 2.2.21-b11, Java 1.7.0_21

      I am unable to prevent the closing of a stage on JavaFX for Linux. The attached sample application works as expected on Windows (it prevents you from closing the window, you have to kill it manually). On Linux, the window disappears but the process continues to run. In my actual application I also see this behavior accompanied by a string of GTK errors of the form:

      (java:73103): Gtk-CRITICAL **: IA__gtk_widget_get_visible: assertion 'GTK_IS_WIDGET (widget)' failed

      However, I don't see those on my test app so they may be a red herring.

            Assignee:
            Alexander Zvegintsev
            Reporter:
            Kyle McIntyre (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: