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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 7u6
    • Component/s: javafx
    • Environment:

      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.

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

                Created:
                Updated:
                Resolved:
                Imported: