Radius for rehearsal marks depends on the length of text

• Nov 6, 2017 - 11:13
Reported version
S4 - Minor

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.


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.

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

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.

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.