In cross staff notation, voice 2 overlaps voice1

• Aug 27, 2020 - 11:29
Reported version
3.1
Type
Functional
Frequency
Many
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project

1) Load this test file: test.mscz
2) Toggle the two last eighth notes in second staff

Expected result (as in version 2.3.2):

voice version2.jpg

Current result:

ver3.jpg

(I have not yet look at precisely, but I note it worked at the beginning of version 3, Junuary 2019)


Comments

I can totally believe that commit broke this while fixing other things that needed fixing. Unfortunately the layout algorithm is has lots of independence and we can't always know the info we want when we need it, so sometimes the algoierithm makes guess and tries to correct later, with some things just not possible to correct. Not saying there is no solution here, but it's quite possible the only one that doesn't break other things also would require a major rewrite of the layout algorithms.

See also #114141: Notes collide between cross-staff. And my comment in https://musescore.org/en/node/289498#comment-920720. As seen there, we've always had an inconsistent story regarding collisions in cross-staff notation, with some things very broken (meaning, not just possible to correct via a simple manual adjustment). Fewer things are broken now, and things are also more consistent overall. But that does mean that some things that we once at least tried (albeit often unsuccessfully) to avoid, we now no longer try to.