Save As Dialog quits with "Cannot determine File Type"
Fedora Linux ver. 28
When using the "Save as…" Dialog to save a file, and if the "File name:" Field doesn't contain the File extension,
clicking "Save" closes the Dialog with a Message Box stating: "Cannot determine File Type".
The entered data gets lost. The file is not saved.
Since the File Type is determined by the Drop-down Menu "Files of type", this is unnecessary.
Expected behaviour:
a) the dialog remains open, after the message appears (no data loss)
b) the dialog ignores the absence of the File extension and saves anyway
c) the dialog automatically appends the file extension on clicking save or selecting a different field, if none is present. Respectively it changes the "Files of type" field to the typed file extension, if one is present.
thx
Comments
c) is exactly what 2.3.2 does on Windows 7.
You picked 2.2 from the menu of the issue tracker, if that really is the version you are using: upgrade!
This may or may not solve the issue, there is a major difference in the file dialogs between Windows and Linux; one uses native file dialogs, the other Qt's and there is a (secret hidden) setting to switch between the 2 in the MuseScore2.ini file (nativeDialogs=true/false).
Same warning here sometimes (Windows).
Don't understand right now the ins and outs, but there is something somewhere.
Could you record a gif reproducing the issue? I cannot reproduce on Mac.
In reply to Could you record a gif… by Anatoly-os
The official repo for my OS still distributes musescore version 2.2.1. I upgraded to 3.1.0 using AppImage.
Using 3.1.0 I could not repeat the issue on Fedora 28.
MuseScore now saves the file even if no suffix is present.
Let's mark it fixed then
Automatically closed -- issue fixed for 2 weeks with no activity.
OS: KDE Flatpak runtime, Arch.: x86_64, MuseScore version (64-bit): 3.6.2, revision: github-musescore-musescore-
Problem prevelant repeatably in Linux Mint 20 Ulyana.
Well, complain to the Flatpak folks then...
Or change the setting of Edit > Preferences > Advanced > ui/application/useNativeDialogs
See #305563: File of type drop down doesn't change/affect extension in filename in Linux and #297613: File save can't determine file type without extension