Loading an MSS file that changes the default style version doens't apply new defaults until reload, potentially changing some settings

• Feb 15, 2021 - 17:01
Reported version
3.6
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
active
Regression
No
Workaround
Yes
Project

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.6.2.548021803, revision: 3224f34

  1. Open the attached 2.3.2 file. Check all the boxes in the opening dialog.
  2. Now import the attached style file (.mss).
    Expected/Actual result: No indent on the first system.
  3. Save, close and reload the file.
    Expected result: No indent on first system.
    Actual result: An indent appears on the first system, though it is not specified in the style file.
Attachment Size
indent_issue.mscz 24.54 KB
ms3_updated.mss 60.53 KB

Comments

But it needs to be specified in the style file, as every non-default option needs to be there
Question is why at step 2 that is not the case already

Severity S3 - Major S4 - Minor
Status needs info active
Workaround No Yes

The MSS file contains explicit tags marking the file as not pre-3.6 any more, so loading it causes it to be marked as 3.6. Hence it then adopts 3.6 defaults on reload. And yes, should have done so originally.

Workaround is to change those tags in your MSS file to make it clear you want to preserve the pre-3.6 defaults (and specifiy which defaults you want; e.g., 206 is probably what you want).

I suspect https://github.com/musescore/MuseScore/pull/7441, or something based on this, will fix it to display the propert defaults immediately on loading the MSS. Only reason I hedge is that the PR is just about the defaultsVersion tag, not the use_Pre_3_6_defaults tag. If they aren't in agreement, who knows what might happen.

Title First system indent appears on save and reload, even when no indent specified LOoading an MSS file that changes the default style version doens't apply new style version defaults until reload

Indeed, in which case I'm a bit confused.

But still, what's clear if the MSS file does change the score to 3.6 defaults, and that means this clobbers the turning off of first system indent. Probably this could be handled better. I was thinking maybe moving the defaultsVersion line of the MSS file to the top of the file would help, but it doesn't.

Title LOoading an MSS file that changes the default style version doens't apply new style version defaults until reload Loading an MSS file that changes the default style version doens't apply new defaults until reload, potentially changing some settings