"Style for part" preference does not take effect until restart
Reported version
3.4
Priority
P2 - Medium
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
Yes
Project
When I auto-generate the parts for a score, the staff spacing isn't the staff spacing I specified in my style for part save. It loads as 1mm when it should be bigger. Also, it loads the style for the score and not the part when I click "Reset Style". Attached is my saves for the styles. JazzSmallStaffForFullScore.mss Jazz.mss
Comments
In 3.5 RC? Or (also) in 3.4.2?
In reply to In 3.5 RC? Or (also) in 3.4… by Jojo-Schmitz
Only RC and development versions. It isn't in 3.4.2.
Actually, it turns out the problem is only right after you change the "Style for part" setting - it does not take effect until a restart. The same actually was true of 3.4.2 (I just tested). So, not a regression or a showstopper for 3.5, but definitely still a bug worth fixing. Shouldn't actually be particularly hard.
There's a function MScore::defaultStyleForPartsHasChanged() that is empty except for a TODO comment. Probably we just need to delete the old _defaultStyleForParts and copy over the code from MScore::init() to reinitialize it.