Hairpin height is not saved if adjusted with line handle
S3 - Major
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.
|before reload.png||59 KB|
|after reload.png||58.59 KB|
Ok, I've found a solution: use the inspector to edit hairpins height.
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 220.127.116.111459983, 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).
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.
Reported again at #316639: Hairpin Width Saving.