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

Win: DirectoryChooser is closed with error when there is not directory selected.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7u6
    • javafx
    • Win7, jdk1.6.0_29, javafx2.2 b07.

        When there is not initial directory set for a DirectoryChooser, if clicking "Open Directory", the DirectoryChooser dialog is closed, and there is an error:

        Error:80070057 in pFile->GetDisplayName(SIGDN_FILESYSPATH, &path)
        COM Error:80070057 ?????

        In such case, the DirectoryChooser dialog should keep opening until a directory is selected or Cancel button is clicked.
        javafx FileChooser and swing JFileChooser has this behavior.

              anthony Anthony Petrov (Inactive)
              jennyh Jenny Huang (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported: