Double-click on files with special characters in filepath don't open (Windows)
When I double-click on a mscz file, and if one of its parent directory have a special character (like ♫), I'm getting this error (and the file don't open):
Can not read file E: \? Test \ Test.mscz:
The file name, repertory or volume syntax is incorrect.
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.0.5.5992, revision: 58dd23d
However, I'm able to open the file by draging it on MuseScore, without any issues.
And saving it doesn't cause any issues either.
Thanks.
Comments
It is a Windows problem. The safest thing is to use standard alphanumeric characters in file names.
When I have this problem, I change the name of the file.
Thanks for your replys.
Right, but it's not always because of the filename.
It also happen if a parent directory name have special characters. And you don't have always the ability to rename a parent directory (e.g.: Intranet/Google Drive/Dropbox... shares, read-only on parent dirs, etc.)
This isn't a blocking issue since there is workarounds, but this is still a bug that have impact on user experience.
Also, I'm not experiencing this issue on other apps I have to use in this working dir, but only MuseScore.
In reply to Thanks for your replys… by emagnier
Do you have some files you could attach to a bug report and create an issue so someone will know to fix it? The issue tracker is at https://musescore.org/en/node/add/project_issue?pid=1236
In reply to Thanks for your replys… by emagnier
Can you put a txt file in this folder having exotic parent directory, and validate that double click the txt file opens it correctly in wathever editor you have associated with txt (notepad if you have never installed anything else)?
If yes then indeed it is a MuseScore (potentially Qt) bug, if not then even with the best will in the world MuseScore developpers won't be able to debug Windows internals ;-)
In reply to Thanks for your replys… by emagnier
Issue created: https://musescore.org/en/node/287955
@frfancha: txt files open correctly with any app, like notepad. I'm also able to open the .mscz with any text editor without issues.
In reply to Issue created: https:/… by emagnier
better: #287955: In Windows Explorer, files with special characters in filepath don't open when double-clicked