AnthemScore 4.12 and Musescore 3.6.2 on Ubuntu 20.04
When AnthemScore runs it creates a score in /tmp/Anthemxxxxx/somefile.xml
It then calls Musescore and passes that filename to open.
Musescore is generating a Load Error when presented with that filename on the call from AnthemScore.
If one attempts to manually navigate to the same file from within Musescore, nothing beneath the top level /tmp directory is visible (directories or files). The permissions on the /tmp directory are wide open.
Musescore is installed as a snap on the machine in question.
With previous installations of Musescore (non snap, if relevant) this did not occur; the hand off from AnthemScore was successful.
Any insights are welcome.
Comments
Then use the non-snap MuseScore, the snap one is not supported here anyway
In reply to Then use the non-snap… by Jojo-Schmitz
Ah, yes. Well unfortunately, the Ubuntu PPA lags behind on releases. The AppImage failed to function despite much effort to get it working.
In reply to Ah, yes. Well unfortunately… by Kmiller
As mentioned, the snap and distributions packages are not not official supported versions from MuseScore, maybe report it there of the maintainers.
The AppImage should work. Did you follow this instruction: https://musescore.org/en/handbook/3/install-linux? At which step do you struggle?
(Just curious: What happens, if you save the xml file in another directory than /tmp (for example in /documents))?
In reply to As mentioned, the snap and… by kuwitt
The AppImage problems were related to HIDPI display issues. Large icons, tiny menu text. Even with the -D command line option it was unable to render a usable interface. The monitor (laptop) is 3840x2160. I run Ubuntu at 1920X1080. I could send you a screenshot if you're curious. The xml file loads fine outside of the /tmp directory.
In reply to The AppImage problems were… by Kmiller
Here's a screenshot!
In reply to Here's a screenshot! by Kmiller
That's passing -D 300 for the DPI. I tried other numbers as well but to no avail.
In reply to Here's a screenshot! by Kmiller
You can also edit the icon size in edit->preferences...
In reply to The AppImage problems were… by Kmiller
Did you also check the -x command line option (for example -x 1.5, 2 or whatever, IIRC for some user also "-x 1" did work).
In reply to Did you also check the -x… by kuwitt
I think so. I'll try again just in case something was missed. Thanks.
In reply to I think so. I'll try again… by Kmiller
After some attempts, what seems to happen is that the icons change size but the menu text remains tiny (as in the screenshot).
In reply to After some attempts, what… by Kmiller
I've not yet found any way (preferences, command line switch) to alter the size of the menu text.
In reply to I've not yet found any way … by Kmiller
The font face and size for the UI is set explicitly in Edit / Preferences / General, check again!
In reply to The font face and size for… by Marc Sabatella
Ok, I'll take a look.
Thanks
In reply to Ok, I'll take a look. Thanks by Kmiller
export QT_AUTO_SCREEN_SCALE_FACTOR=0;./MuseScore-3.6.2.548021370-x86_64.AppImage
That worked nicely. Excellent.
Thanks.
In reply to The AppImage problems were… by Kmiller
Try also setting the environment variable QT_AUTO_SCREEN_SCALE_FACTOR=1 (or 0, or explicitly unsettling it). This can also be relevant on some systems. Be sure also you didn't turn up the icon size in Edit / Preferences previously to workaround problems in the other versions you tried! One way or another there is definitely a solution. Might involve a combination the variable, command line, and preference settings. but normally finding the right one for your particular environment is all you need.
In reply to Try also setting the… by Marc Sabatella
I hear what your saying. I've done battle with HIDPI before. I thought I would find the right combination of settings but couldn't. There are 4 tweaks it seems: Preferences (icon), ENV var, -D -x
I'll play with it some more...
Thanks
In reply to I hear what your saying. I… by Kmiller
FWIW, I've never encountered a system that required adjustment to icon or font sizes in addition to the environment variable and -D. Most systems require only one of these, a very few might require both the environment variable and "-D". I've never encountered one that required more than this.
In reply to Ah, yes. Well unfortunately… by Kmiller
Maybe attache also such a file itself, to exclude that it isn't a export-/import-error.