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

QFileDialog: (Windows) Native getSaveFileNames extension issue

XMLWordPrintable

      When using the native filedialog on Windows for saving a file, e.g:

      QString fileName = QFileDialog::getSaveFileName(0, QObject::tr("Save File"),
      "/home/jana/untitled.png",
      ".png;;.xpm;;.jpg;;.txt;;*");

      then the default windows dialog does not update the file extension when the user selects a file type that is different from the one in the file name field. This works for the native dialogs in non-Qt applications. Since the native dialog is being used this is probably not something we can change in our code, but maybe we could use a different native filedialog where this works ?

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

            Unassigned Unassigned
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes