Text repeat applied by double-clicking does not obey text style.

• Sep 18, 2015 - 16:12
Type
Functional
Severity
S4 - Minor
Status
closed
Project

(Musescore 2.0.2, official release)

1. Set "Repeat text right" to 5 pt in the "Style > Text" dialogue box.

2. Drag a TEXT repeat, such as Fine, to the score. Result, as expected: the text assumes 5pt size.

3. Now double click the same text repeat, Fine, to another part of the score.
Expected result: Repeat should assume 5 pt size.
Actual result: Repeat assumes 12 pt size.

This may be related to other similar issues:
Double-clicked Palette lines won't reset to style ;
8va text reverts to default 12 when other line properties are changed .


Comments

Actually, it seems unrelated, although the symptoms are certainly similar. There is special code to handle the adjsutment of styles when applying elements from the palettes to notes or rests, which is how orrdinary text is handled. But repeats are not attached to notes or rests; they are attached to measures. Looks like we need to perform that same adjustment in the code to handle those cases.

The following should take care of it: https://github.com/musescore/MuseScore/pull/2226