Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2587

getExistingDirectory does not always respect the default directory on Mac OSX

XMLWordPrintable

    • macOS

      On OSX (at least on 10.5) it appears QFileDialog::getExistingDirectory does not observe the default directory passed to the function. For example:

      QString defaultLocation = "/tmp";
      defaultLocation = QFileDialog::getExistingDirectory(NULL, "Choose Location", defaultLocation, QFileDialog::ShowDirsOnly );

      does not default to the /tmp directory on various machines, where it instead defaults to the Desktop directory. The other QFileDialog static functions handle default filenames just fine.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vfm Thierry Bastian (closed Nokia identity) (Inactive)
            vhilshei Volker Hilsheimer
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes