Text styles not applied by command line option -S

• Feb 15, 2018 - 22:31
Type
Functional
Frequency
Many
Severity
S4 - Minor
Status
active
Regression
No
Workaround
No
Project

When a .MSS style file is applied via command line option -S some text styles are not applied.
To reproduce that: Take the provided files and apply the .mss files by calling MuseScore on the command line:

nightly.exe "Nuages.mscz" -o "Nuages1.mscz" -S _FreeSans.mss

When doing that, title, subtitle, composer and tempo are NOT updated.
When applying the same .mss file by calling "Load Style..." from the menu the mentioned texts are updated correctly. Other style settings work correctly.
The font changes are shown in the text style dialog but not in the score. Changing e.g. the size manually makes also the font change visible.
See also https://musescore.org/en/comment/819328

_FreeSans.mss sets the fonts to FreeSans, Create clef for all systems ON, bar number above the system.
_MuseJazz.mss sets the fonts to MuseJazz, Create clef for all systems OFF, bar number below the system.

https://musescore.org/en/node/118731 is about Load Style... called from the menu (which works now in 2.2 Nightly).
This issue reports a persisting bug in the command line interface which does not work for the text items mentioned above.

Nuages.mscz _FreeSans.mss _MuseJazz.mss


Comments

In reply to by Jojo-Schmitz

Reported version 2.1 2.2

I tried to check with Master.
When I try to load the style files that I uploaded I get an error message "The style file is not compatible...". Probably the intended behaviour as the style file format has been changed.
I cannot find the respective style settings in 3.x. Can you please give me a hint where to search?

Status active needs info
Reported version 2.1  
Regression No
Workaround No

Could this be due to the order of arguments?
nightly.exe "Nuages.mscz" -o "Nuages1.mscz" -S _FreeSans.mss
vs
nightly.exe -S _FreeSans.mss -o "Nuages1.mscz" "Nuages.mscz"