Linux versioned share folder causes upgrade issues with manually specified locations
On Linux installations, the share folder is currently located at "/usr/share/mscore-[x.y]", however this can cause problems when the version number changes on upgrades.
For example, if a user on MuseScore 2.0.3 manually specified a file to load on startup, such as "/usr/share/mscore-2.0/demos/Reunion.mscz", upon upgrade to MuseScore 2.1 this would fail to load.
Should anything be done here?
Comments
Which Linux distribution specifically are you referring to? Could be an issue with the packaging for that distribution only.
More concerning to me than the location of demo scores would be the location of soundfonts, templates, style files, etc.
This occurs on all distributions and is not specific to a particular one.
Steps to reproduce:
1. Open MuseScore 2.0.3.
2. Go to Edit -> Preferences -> Canvas -> Paper -> Wallpaper.
3. Select a new wallpaper from the file picker (e.g. paper1.png).
4. Save preferences and close MuseScore.
5. Upgrade to MuseScore 2.1.
6. Open MuseScore 2.1.
7. Wallpaper will fail to load correctly.
The same applies for the score loaded on startup (which will cause errors if not found) and default files in "Preferences -> Score".
In reply to #2 by Qantas94Heavy
This happens also on fedora.
I don't remember to have set all those directories manually...
Musescore should definetely faile more elegantly / load sane defaults if the files are missing.
Currently it just segfaults at various actions. Like when pressing F9 (no such instrument ).
I opened a fedora Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1533248