Winged repeats at bottom of barline span if last staff invisible

• Dec 5, 2018 - 06:07
Reported version
3.0
Priority
P2 - Medium
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
Yes
Workaround
No
Project

Reported in https://musescore.org/en/node/279295

1) load attached file
2) generate parts
3) view flute & oboe parts

Result: bottom "wing" on repeat is missing:

broken-wing.png


Comments

There is a relevant TODO in the code for Barline::isBottom(). I can see it's tricky. I can also get this behavior in score without parts, by hiding the bottom staff of a span. And there's a whole lot of other TODO's and commented out code here, and other known limitations in barline span functionality.

But even a partial fix that recognizes the last staff of a score is bottom will fix the case at hand and is worth doing.

Title Winged repeats not shown in parts for staves with spanned barline Winged repeats at bottom of barline span if last staff invisible
Regression No Yes

Since it's probably not obvious what case is missed, consider a score for string quartet plus piano, barlines extended through string staves, piano staff below that. Turn on hide empty staves. On any system where the cello staff is hidden, you'll get the same artifact:

broken-wing-score.png

Attachment Size
broken-wing.mscz 9.86 KB