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

QFileDialog::getSaveFileName does not show native file picker in WinRT

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.5.0 Beta
    • 5.4.1
    • None
    • Windows 8.1 Store app
    • WinRT
    • 341dd4c7393ed36a775ffadfb69042ca7460ab6a

      Calling "QFileDialog::getSaveFileName" opens the Qt file picker instead of the the native Windows RT file picker for saving files. The open picker works fine.

      The code for the file save picker is implemented in "qwinrtfiledialoghelper.cpp" but seems to fail to run.

      The following errors are reported (although the file associations are defined in the manifest):

      • Failed to set default file extension (Falscher Parameter.)
      • Failed to insert file extension choice entry (Falscher Parameter.)

      The dialog is called this way:

      QFileDialog::getSaveFileName(0, tr("Export audio"), "", tr("wav (*.wav)"));
      

        For Gerrit Dashboard: QTBUG-44933
        # Subject Branch Project Status CR V

            wupeng PengWu
            DanielSt Peter Staab
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes