Linux versioned share folder causes upgrade issues with manually specified locations

• May 13, 2017 - 10:09
Reported version
S4 - Minor

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?


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".