slurs too high, outside staff

• Dec 22, 2018 - 11:48
Reported version
3.0
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project

MuseScre 3.0 RC, Windows 7
Score created from scratch with Beta 3 (which had the same issue)
Slur on a longer cadenca, as of a certain point it jumps to above staff:
1.png
2.png

Attachment Size
Laecheln,_The_City_of_Dreams.mscz 37.85 KB

Comments

This is an unfortunate but known limitation of the current algorithm for slur autoplace. We look pretty carefully for collisions (in this case, I suspect the G# reads as a collision because we are checking the "bounding box" of the sharp sign) to avoid having to move the slur at all). But if we do decide we need to move, unfortunately the only way we have to figure out how far it needs to be moved requires moving it outside the staff completely. This is not good indeed, but that's the best we can do at the moment the way our data structures are set up. Hopefully we will find a way around this at some point. That and coming up with a way to make slurs more bowed if need be rather than just taking the default "flat" slur and moving it up would be the main two enhancements I still want to see.

The score attached reports as corrupt in master due to that very tuplet (presumably something to do with the new fractions code, either catching real corruptions we missed earlier, or causing new problems). But recreating that measure in a new score, with my PR, yields this:

slur-staff.png