Tempo text "Remove custom settings" option turns on when font not changed

• May 7, 2019 - 01:07
Reported version
3.0
Priority
P2 - Medium
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
active
Regression
Yes
Workaround
Yes
Project

Regression from version 2.x and workaround is to press the button and then make changes.

See discussion at https://musescore.org/en/node/276156, especially starting at https://musescore.org/en/node/276156#comment-916749

Enter a tempo using alt+shift+T shortcut
Type in text at the cursor with not changes to the font
Press escape
The "Remove custom formatting" button in the inspector is activated. Clicking this button changes the note symbol to bold.

The expected result is that the "Remove custom formatting" button will remain inactive since there has been no change to the formatting. The note should never change to bold, unless the user explicitly makes it bold.


Comments

I think the note character comes from Bravura and that's why it shows as having custom formatting applied - that one character comes from a different font. Somehow we don't mark it as having custom formatting when first applied but notice the different font used on edit. See also #288874: Copying Tempo text to Stave text changes font used for the note image. Maybe we shouldn't be switching to Bravura in the first place but should make sure the default font has note characters worth using for tempo.