Stage.hide causes Application.stop, but does not fire Stage.setOnCloseRequest event

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: 7-pool
    • Component/s: javafx
    • None
    • Environment:

      2.0 beta b45

      Stage.hide causes Application.stop, but does not fire Stage.setOnCloseRequest event

      @Override public void start() {
      ...
      stage.setOnCloseRequest(new EventHandler<WindowEvent>() {
      public void handle(final WindowEvent event) {
      // never gets called
      }
      });
      ...
      // in some other method call stage.hide(); when a button is clicked or similar
      }
      @Override public void stop() throws Exception {
      // gets called
      }

            Assignee:
            Ľubomír Nerád (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: