Slurs not allowed to cross barlines, leading to placement far from notes

• Dec 17, 2018 - 21:51
Reported version
3.0
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project

I had tried to find a clear statement in Gould about this but failed. Here is the default layout for a particular example from the forum (https://musescore.org/en/comment/reply/node/280131/):

slur-barline.png

If you turn off autoplace, you get this, which to me is better:

slur-barline-2.png

There are going to be any number of cases where our strategy of simply moving a slur up in case of collision is going to yield bad results, but most of those cases would require reshaping the slur while is going to be complicated. This particular case is much simpler though - I will bet we just need to skip barlines when checking for intersections in slurPos. Before actually implementing this, we should verify there isn't a rule against it somewhere, of course.


Comments