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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 8
    • 7u21
    • javafx
    • None
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported: