Ottava hooks using wrong default hook when flipped to opposite side of staff

• Apr 30, 2019 - 16:13
Reported version
3.0
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.1.0.6645, revision: cd7aa3f

Open the attached 2.x score and take the reset. Notice that the endhooks are facing upwards. Save the score and reopen. Result: The endhooks are now pointing downwards.

Attachment Size
line_hooks_2.mscz 9.02 KB

Comments

Title Text-lines: in imported 2.x scores, hooks revert to default direction Ottava hooks using wrong default hook when flipped to opposite side of staff
Priority P1 - High

As far as I can tell, this doesn't apply to all text lines, just ottavas, and only when moved to the wrong placement (eg, 8va moved below, or 8vb moved above). We are then getting confused about which default hook to use - the down hook normally associated with 8va above, or the up hook normally associated with 8vb below. It all works fine if you specify a clearly non-default hook length. But if you specify a length that happens to be the default for the current placement, then it reverts to the default for the original placement.

You can see the glitch with no save/reload just by playing with the reset button in the Inspector. For an ottava moved below (and hence keeps its downward hook), change the offset, hit the reset - the hook goes up, as I guess one would expect if you were using the placement to determine the default. But apparently when saving, we are using the ottava type (8va) to determine the default, and thus not writing the value.