Slurs and dynamics appear in other staff

• Sep 10, 2020 - 19:53
Reported version
3.5
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

When making two separate parts for voice 1 and voice 2 of the same staff, adding slurs and dynamics for voice 1 appear in the voice 2 part with no notes attached. This can be seen in the Horn 3 and 4 parts.

Attachment Size
Lohengrin - Act II Scene 4.mscz 20.3 KB

Comments

Also see #297444: Hairpin attached to note other than in voice 1 in score appears on wrong part, same area of code is likely involved at least for slurs. For dynamics, this might current;y be the expected behavior - dynamics in voice 1 are assumed to apply to both parts. But probably the heuristic should be improved to only do so if the other part isn't empty.

More generally, though, even the notes in passages like this should probably be assumed to apply to both parts, unless there is an explicit indication to the contrary. Definitely many opportunities for improvement here. I believe @shoogle has written up a proposal regarding this.