Single Staff Barlines render incorrect start & stop ypos

• Feb 18, 2017 - 10:40
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:

single-line-staff barlines improper.png

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

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.

Tags View Changes

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).
Screen Shot 2018-04-06 at 10.19.18 AM.png

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 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.)

Severity S1 - Blocker
Regression No
Workaround No

Current situation seems to have changed? Barlines look good, but clef is off for me now.