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

QFileDialog::getSaveFileName changes file extension even if the selected filter matches the extension

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.8.6, 5.3.2, 5.4.1
    • None
    • non-native file dialogs

    Description

      When opening a file save dialog with a file name and a selected filter, and the file extension matches one of the extensions of the selected filter, the file name should not be changed.

      The current behavior is, that the file name always gets the extension of the first file extension in the selected filter, even if another one already matches.

      See attached example.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              con Eike Ziller
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes