[Broken?] Key Signature Left Margin for Initial Barlines

• Feb 8, 2019 - 21:55

Hi,

Since MuseScore 3 (great job by the way!) I've noticed a problem with key signatures appearing too close to initial barlines, and I can't seem to fix it via Style settings as I'd hoped to. I'm posting here in the hopes someone can confirm the issue and raise it with someone who can fix it or to show me my error.

(My first time posting in the forum -- apologies if I break any rules. I searched 'Key signature left margin' in the forum before posting, but had no luck.)

I think the 'Key signature left margin' feature (under: Format -> Style -> Bar) doesn't work with an initial barline; ie, when the 'Barline at start of single stave' feature (under: Format -> Style -> Barlines) is checked. Changing the margin value (default = 0.50sp) apparently makes no difference.

I attach 2 images. Both are on a blank score (all default settings), except I've removed clef + time sigs, enabled initial barline and varied the key sig margin to demonstrate the problem. I've added 4 bars with 4 key sigs (Abmaj + Emaj to demonstrate sharps + flats), 2 adjacent to initial barlines, 2 adjacent to the 2nd barlines of the staves.

The first image shows the key sig margin set to 0.50sp (red elipsis). As you can see from the red circles, the 2 key sigs are very close to the initial barline (closer than I want). However, as you can see from the green squares, there's a good distance between the other 2 key sigs and the 2nd barlines.
0.50sp.jpg

The second image shows the margin set to 2.50sp (red elipsis). Again shown by the red circles, the 2 key sigs are very close to the initial barline -- there's been no change in gap despite varying this number. However, the green squares show the different margin value has made a difference to key sigs adjacent to non-initial barlines.
2.50sp.jpg

By default, the 'Barline at start of single stave' is unchecked, so this won't be noticed unless you've opted to show initial barlines.

I note this problem does not occur on MuseScore 2 (I've just tested it on 2.3.2 revision 4592407 today) -- changing the margin value does indeed change the gap between all key sigs adjacent to initial barlines.

Workaround -- PS in the meantime you can manually set all key sigs adjacent to initial barlines to have a leading space equal to the Key signature left margin value:
- select every key sig adjacent to initial barlines
- via Inspector: Segment -> Leading space: X.XXsp
(or Element -> Offset: X: X.XXsp)

Hope that makes sense, that I've not broken forum rules and that the problem can be solved!

Kind regards,
Graham

Attachment Size
0.50sp.jpg 256.09 KB
2.50sp.jpg 271.34 KB

Comments

Confirmed, the setting works fine if there is no barline, or if there is a clef, but the combination of barline plus no clef does not. Could you please file this officially to the issue tracker, via Help / Report a Bug, with Severity set to Major? You don't need much detail, just give steps to reprodcue (eg, new score with key signature, use Format / Style to remove clefs but add initial barline).

Since you say this is your first post, welcome! Asking here is indeed good before submitting an official bug report.

... and the fix is merged, meaning it will be in the next update. You caught me on a good day, I was on a roll yesterday :-).

Actually, this is perhaps some sort of record, according to the stats: less than 24 hours from you registering on the site to having a forum post, a bug report, and seeing it fixed! I wish I could say things were always that fast, but glad this worked out :-)

Do you still have an unanswered question? Please log in first to post your question.