Changing barline type in part affects only that staff in score
Reported version
3.0
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project
Here's something I missed in my recent changes to barlines:
1) open or create a score for multiple instruments with parts
2) view a non-empty part (or an empty one, but disable mmrests)
3) change a regular barline to double
4) view score
Result: the change is properly linked, but it doesn't apply to other staves in the score. Works as expected if you change the barline in the score.
To be honest, while I was working barlines recently, I was aware of this but thought of it as potentially desirable behavior. But I suspect it isn't most of the time, and it's not how 2.3.2 worked.
Easy enough to fix in uncoChangeBarlineType(), instead of looping through the staves of the current score, we should loop through the staves of the master score.
Fix version
3.1.0
Comments
https://github.com/musescore/MuseScore/pull/4914
Fixed in branch master, commit e5b3e1df22
fix #287620: change barline in part
Fixed in branch master, commit 9924d9c30c
_Merge pull request #4914 from MarcSabatella/287620-change-barline-part
fix #287620: change barline in part_
Automatically closed -- issue fixed for 2 weeks with no activity.