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

File Mode QFileDialog::Directory does not show files within folders for Windows native dialog

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.1.1, 5.2.0 RC1
    • None
    • Windows 7
    • qtbase/stable: Added manual test 1171175a567eb6ad515f98e0074dda12c9712264 (10.12.2013)

      The following lines:

      QFileDialog dir_selector(this);
      dir_selector.setFileMode(QFileDialog::Directory);
      dir_selector.exec()

      Correctly execute a Windows-native directory explorer, but does not display the files inside, contrary to the documentation:

      QFileDialog::Directory 2 The name of a directory. Both files and directories are displayed.

      It should be noted that the output of:
      qDebug() << dir_selector.testOption(QFileDialog::ShowDirsOnly);
      is false.

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

            peppe Giuseppe D'Angelo
            deltatango28 David Thomason
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes