Brace's width get unreasonably wide, when setting the 'Max. grand staff distance' value
Steps to reproduce:
1. go to style -> page
2. set 'Max. grand staff distance' value to a higher value (see the attached image)
Result => Brace's width get unreasonably wide (only braces, brackets are uneffected)
Expected Result => Brace's width should remains reasonable with it's height
Please see attached images for detail.
Version: 3.6.2.548021803
It seems that Musescore sets the brace's width based on what it thinks how tall the brace might possibly be (from the 'Max. grand staff distance' value) rather that it's actual height. Causing the braces to look squished if you set 'Max. grand staff distance' wrong.
There's workaround which is to set 'Max. grand staff distance' value as closest to what you think would be the height of the grand staff in the end after justification. But having to do this manually would defeat the purpose of having this feature in the first place, which should automatically calculate staves height in a page.
All this seems to only affect the braces and not brackets.
Thank you.
Attachment | Size |
---|---|
brace width bug report.mscz | 9.76 KB |
brace width bug report.png | 146.33 KB |
Comments
Well, 50.5sp for the Max. grand staff distance (default being 6.5sp) is not a really reasonable value. Hence I don't see how this is a Major issue.
I agree though that the brace width should really get determined by the actual grand staff distance, not by its max.
Culprit code seems to be in libmscore/bracket.cpp. line 122-123 (shown here: 115-123):
That
_magx
then gets used in libmscore/bracket.cpp. line 87 (shown here 79-88):Reveals another workaround: Use Emmentaler or Gonville as the Musical Font.
And yet another: don't use "Enable Vertical Spread"
See also https://github.com/musescore/MuseScore/issues/9041
See https://github.com/musescore/MuseScore/pull/9903