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

Owner window accepts file drop events while having a dialog open

    Details

      Description

      Having an application that listens to dragover and drop events on a specific type of files, open any type of dialog (filechooser, directorychooser, or custom modal dialog) making sure to set the primarystage as ownerWindow of the dialog. While having the dialog open, drag a accepted type of file to the drop area of the main app window

      Expected result: Do nothing. DragOver or drop events should not be accepted. From FileChooser API definition, showOpenDialog: "If the owner window for the file dialog is set, input to all windows in the dialog's owner chain is blocked while the file dialog is being shown. "

      Actual result: App responds to the DragOver and Drop events.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported: