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

FileChooser: cannot show modal when using jfxpanel.scene.window as owner window

XMLWordPrintable

      FileChooser.showSaveDialog needs an owner window. In a JFXPanel I can only use scene.window (it wouldn't take a JFrame etc). This will show the dialog non-modal: the JFXPanel can be moved to the foreground, and the show call also is not blocking input to the JFXPanel and its window.

      This is bad because the user could lose the save dialog behind their main window, or they could open multiple save dialogs, or they could select a file in a open dialog while the actual content to be saved is long gone (since input to that window is not blocked).

            Unassigned Unassigned
            wlehmann Werner Lehmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Imported: