Help needed to understand differences between rehearsal marks
Hi,
My "problem" is on page 2 of the attached score.
Mark A and C appears "normal" for me, but mark B appears to be much more rounded.
I can't understand why.
I have tried to click on 'reset text to style' in the inspector (on A, B and C) without success.
Attached also a print screen with the look difference in case the "problem" would not occur on your PC.
Attachment | Size |
---|---|
LS_Scottish_Houssa.mscz | 23.39 KB |
reh.png | 52.92 KB |
Comments
Right-click on this mark "B" -> Text properties -> Set the "Border radius" eg to 10 -> Ok
a LS_Scottish_Houssa.mscz
So, due to the added text. The more text you add, the more this setting needs to be adapted.
In reply to Right-click on this "B" ->… by cadiz1
Well, thanks but the mystery stays: why does the default radius of 20 give the expected result on rehearsal A & C, and adjusting to 10 is necessary on rehearsal B only to get the same look?
In reply to Well, thanks but the mystery… by frfancha
As said (I edited my previous message in the same time your reply I guess), there is added text in rehearsal B.
Eg, try with rehearsal C in second page to add the text "Violon" two or three times: you observe the same behaviour.
In reply to As said (I edited my… by cadiz1
So the obvious question is: What does "radius = 10" mean? Is 10 a number, a measurement (in what units), a percentage, or just a piece of warm feeling? Does anyone know? This is one of the most frustrating general features of MS that there is no proper specification of what anything means. This reduces us all to "push and poke": just jiggle everything around until it looks about right.
Anyway, a bit of experiment shows that setting a value for "radius" does not set the radius, so this should be reported as a bug.
In reply to So the obvious question is:… by Imaginatorium
As the corresponding calls to drawRoundedRect() does not specify the last arg, that defaults to an Qt::AbsoluteSize, whatever that means, the documentation (of Qt) isn't very clear on this, see http://doc.qt.io/qt-5/qpainter.html#drawRoundedRect and http://doc.qt.io/qt-5/qt.html#SizeMode-enum.
In reply to As said (I edited my… by cadiz1
Ok thanks, get it. Indeed the more you add text the more it is "rounded" for the same value of radius.
This is clearly a bug: the radius should be honored irrespective of the length of the text.
In reply to Ok thanks, get it. Indeed… by frfancha
This seems to indicate that in fact it is treated as Qt::RelativeSize, which means a percentage of the bounding rectangle?
Edit: no, that would look different. More likely a bug in Qt 5.4 and fixed later like in 5.8?
In reply to This seems to indicate that… by Jojo-Schmitz
See: #264088: Radius for rehearsal marks depends on the length of text