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

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

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes