Single Staff Barlines render incorrect start & stop ypos
Reported version
3.0
Type
Functional
Severity
S3 - Major
Status
closed
Regression
No
Workaround
No
Project
on fade47128
attached file has 1-line staff, 2-line staff, and a snare drum staff:
Note that only the 2-line staff displays the barline properly. The 1-line staff incorrectly doesn't render. This is because it is trying to start and stop the line at the same y position, but should instead render starting from a little above to a little below so we know there is a barline.
The snaredrum staff doesn't render the barline properly because "Span to the next staff" is toggled on for some reason when that staff was created. But there is no reason for that to be toggled on to begin with. And anyway, that is rendering improperly even if wanted to have spanning to next staff enabled.
Attachment | Size |
---|---|
single-staff-barlines-improper.mscz | 3.74 KB |
Comments
oh, and the snare drum's clef is way off center.
There is - or was - a constant defined somewhere that gives the correct start and end point for barlines on single line staves. The code used to check that and do the right thing, but I guess that changed at some point. Not sure how things are intended to work now.
this might be related to #175231: leger lines for 1-line staffs incorrectly offset vertically by 2sp
I'm not sure I properly understand the issue. Could you please verify the following screenshot whether it is correct or not? It is the attached file opened in MuseScoreNightly-2018-03-30-2123-master-b92a6e0.dmg (MacOS).
I believe it is incorrect - the bottom staff should look just like the top in terms of barlines. That's how it works on 2.x. I have no particular opinion on the second staff - I don't really know any standards for two-line staves.
In reply to I believe it is incorrect -… by Marc Sabatella
What marc says...the single line snare staff barline needs to be centered vertically.
(The was another problem in the 1st staff where the barline didn't display...that part has been apparently been fixed in the time since I made this issue report. And the other problem about the snare staff clef being way off has been fixed too.)
Ok, current state is:
1. Barlines are centered
2. Treble clefs ypos is correct
3. The only question is Snare Line barline length
(Attached source file resaved with 3.01 format)
Current situation seems to have changed? Barlines look good, but clef is off for me now.
Fixed in branch master, commit 9d1590adfd
fix #174966 Single Staff Barlines render incorrect start & stop ypos
Automatically closed -- issue fixed for 2 weeks with no activity.