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

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

    XMLWordPrintable

Details

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

    Description

      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)"));
      

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes