Radius for rehearsal marks depends on the length of text
The radius of the corner of the box around rehearsal marks depends of the length of the text instead of (only) the selected radius value in the text properties. See https://musescore.org/en/node/264087.
Comments
Not sure, but it seems the current nightly builds for master don't have that issue, and as these use a newer version of Qt (5.8 or later), it might be a Qt bug on the older Qt 5.4 MuseScore 2.x is using?
The code looks the same for 2.1 and master, see https://github.com/musescore/MuseScore/blob/2.1/libmscore/text.cpp#L941 and https://github.com/musescore/MuseScore/blob/master/libmscore/text.cpp#L…
Well, as far back as I go back in time (ie May 2014), I see exactly the same behavior by adding text in a rehearsal mark.
And it is solved (in branch master) on October 7, 2016 with this commit: https://github.com/musescore/MuseScore/commit/6d9fe79cc0ea66c908db04867…
To fix: #89231: Box around rehearsal marks too square for narrow letters
In reply to And it is solved (in branch… by cadiz1
Great, thanks.
Darn, how could I miss the difference between drawRoundRect() and drawRoundedRect().
Looks like a real easy fix that could/should make it into 2.2
In reply to Darn, how could I miss the… by Jojo-Schmitz
<< that could/should make it into 2.2 >> Even better, thanks!
The problem as I recall is that the units differ. So if you just change that, everyone's scores suddenly start looking different unless you come up with some sort of compatibility code.
True, but is looking better and more correct a problem?
I can't find the discussion and don't remember the specifics, but I remember some cases where it would indeed look very much worse. Like maybe, if you have a whole paragraph of text you want to display with a border and have carefully set the radius to achieve the desired effect, changing this would totally screw it up. Something like that. Not saying don't try, but do be very careful to test thoroughly.