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

Cocoa QFileDialog - cmd + A does not select all on Native dialog.

    XMLWordPrintable

Details

    • b5eb850e0deb61ff71e26a5a2d0e070b91306aa2

    Description

      On the cocoa port, it is not possible to use cmd + a to select all files in the QFileDialog. This is possible on Windows and the carbon port.

      #include <QtGui>
      
      int main(int argc, char *argv[])
      {
          QApplication app(argc, argv);
      
      //static method does not work either.
      //    QFileDialog::getOpenFileNames(parent, QObject::tr("Open"), qApp->applicationDirPath() + "../../../../", "*", 0, QFileDialog::DontUseSheet);
      
          QFileDialog fd;
          fd.setFileMode(QFileDialog::ExistingFiles);
          qDebug () << fd.exec();
      
          return app.exec();
      }
      

      Is it a bug in NSOpenPanel, or is it something that needs to be set explicitly when Qt is constructing the native dialog?

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              dettman Dean Dettman (Inactive)
              Votes:
              8 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes