Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
4.3.0
-
None
Description
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 ?
Attachments
Issue Links
- relates to
-
QTBUG-27186 QFileDialog::getSaveFileName() does not append the file extension of the selected filter (QWidget-based, non-native)
- Open