Existing voltas do not obey text style changes

• Mar 12, 2017 - 02:36
Reported version
S4 - Minor

Reported at https://musescore.org/en/node/180811. Exists in 2.0.3 and 2.1-dev a062dec. Steps to reproduce:

1. Add a volta to a score.
2. Style / Text... / Volta, change something. The original report concerned vertical offset; you can also change the font (e.g., to MuseJazz), or make the font size huge, or any change that will be clearly noticeable.
3. Click OK.

Expected result: volta numbers change to new style.
Actual result: nothing.

If you then add a new volta, it will follow the new style, but it seems voltas only respect the style in effect when they are first added to the score and ignore further changes.


This works also: select the volta(s) that you want to change and apply your changes in the inspector.
Try also: Right click a volta and take a look at the select options in the context menu.

As noted elsewhere when the subject comes up, this is kind of by design, although one could certainly argue it's not a great design. The deal is, text style changes only apply to *text elements* of the given style. Voltas are not text elements - they are textlines (spanners) that *contain* text elements. Potentially up to three of them (begin, continue, end).

So we'd need to go in to all textlines and find the text elements they contain and update them. Which could be unfortunate if you had set your continue text to italic or otherwise differ from the default., but maybe that would be handled properly - we do some amount of that already.