Winged repeats at bottom of barline span if last staff invisible
Reported version
3.0
Priority
P2 - Medium
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
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:
Fix version
3.1.0
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.
Partial fix here, covers this case at least (just don't get fancy with Hide empty staves or invisible staves in the score):
https://github.com/musescore/MuseScore/pull/4313
Fixed in branch master, commit d4df85dfb0
partial fix #279415: no bottom wing shown in part with barline span in score
Fixed in branch master, commit 2c5eb40ec9
Merge pull request #4313 from MarcSabatella/broken-wing
partial fix #279415: no bottom wing shown in part with barline span in score
Partial fix only, so reopened.
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:
Relates to #285237: [EPIC] Invisible staves issues
Here's the rest of the fix (including for the converse issue with the top staff of span):
https://github.com/musescore/MuseScore/pull/4964
Fixed in branch master, commit 9ddc139f2a
fix #279415, fix #288283: calculation of prev/next visible spanned staff
Fixed in branch master, commit 90eac8cffd
_Merge pull request #4964 from MarcSabatella/barline-top-bottom
fix #279415, fix #288283: calculation of prev/next visible spanned staff_
Automatically closed -- issue fixed for 2 weeks with no activity.