initial barline vanishes when changing linetype
Reported version
3.0
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project
in msc3 i am unable to set a double bar line at the beginning of a staff
in msc2 it worked
in msc3 the barline vanishes when i want to change from single to double barline.
in fact it vanishes on the first staff
1) Format/Style/Barlines: "barline at beginning of single/multiple staff" : enable
2) change the barline-style in inspector to any other type, eg.: double barline
3) the barline in the first staff vanishes.
4) if i klick "undo" the barline reappears in default-style as single barline.
I can get around it, by adding another empty an invisible staff/instrument above,
or i can safe and reopen it, unless I want to change the style of an initial barline again.
Attachment | Size |
---|---|
testbarline.mscz | 16.23 KB |
msc3_dbline.jpg | 94.42 KB |
Fix version
3.1.0
Comments
In general, it seems it always works for all but the first staff. That is, in a score with 9 staves, it works for staves 2-9, etc. And it is indeed fixed on save/reload.
See also #281057: Barline for uppermost staff disappears when adding double barline at start of system which seems related if not a duplicate.
The cause seems simple, we are actually adding a new barline to the top staff because we mistakenly think there isn't one already there, and then we are creating it incorrectly. I don't see any good reason for the code that is doing this to even be there; changing initial barline should not ever result in adding new ones as far as I am concerned. So, will submit PR soon, looking to see if there are other barline issues I can easily grab at the same time.
https://github.com/musescore/MuseScore/pull/4843
Fixed in branch master, commit 537d195606
fix #286017: changing initial barline loses barline on top staff
Automatically closed -- issue fixed for 2 weeks with no activity.