Hairpin height is not saved if adjusted with line handle

• Nov 10, 2020 - 10:59
Reported version
3.5
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
Yes
Project

1) Add a crescendo/decrescendo hairpin to a selection of note(s).
2) In edit mode, use the low handle to modify the hairpin's height.
3) Save, close and reload the score.
4) The hairpin's height has been reset.

Attachment Size
before reload.png 59 KB
after reload.png 58.59 KB

Comments

Title Hairpin height reset on save/load Hairpin height is not saved if adjusted with line handle
Severity S4 - Minor S3 - Major

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.5.2.311459983, revision: 465e7b6

Open attached score, then use the line handle to change the height of the hairpin. Save and reload.
Expected result: New hairpin height is saved.
Actual result: Hairpin height returns to default when file is reopened.

Workaround: Change hairpin height directly in the Inspector (Hairpin > Height).

Attachment Size
hairpin_height.mscz 4.69 KB

For anyone wishing to work on this, normally the reason things like this happen is that we are setting a property but forgetting to also set the property flags to unstyled. Generally, you check if the current flag is styled , and if so, flip it to unstyled.