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

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 4.8.6, 5.3.2, 5.4.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      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

              Assignee:
              qt.team.quick.subscriptions Qt Quick and Widgets Team
              Reporter:
              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