Autoplace: slurs intersect accidentals

• Jul 23, 2019 - 14:58
Reported version
3.2
Priority
P2 - Medium
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
active
Regression
No
Workaround
Yes
Project
Actual behaviour Expected behaviour
slur-accidental-actual.png slur-accidental-expected.png

Workaround: manual placement

Attachment Size
slur-accidental.mscz 4.01 KB

Comments

Priority P2 - Medium

This is deliberately allowed because while in cases like the one shown, the alternative is not so bad, that approach doesn't work for steeper slurs. See for instance #274208: Slur too high with accidental for an extreme case. Consulting various sources, it was decided that allowing the collision would be preferable. Other cases too where realistically there just isn't a good solution, like notes in other voices that don't allow for any easy placement of the slur - you end up with a slur that looks like it is connected to a different note than it actually is.

But we could probably be smarter, allowing the collision only if avoiding it would cause the slur to move too much. There is now code to make multiple passes like that for interior collisions, we could potentially take advantage of that approach for the endpoints as well.