Slur across voices are not restored correctly on file read
- Create a score for flute
- In the first measure enter two quarters notes in the first voice and two quarter notes in the second voice
- Click the first quarter of the second voice and press S
- Click the slur and move the first handle up so it's attached to the first voice
- Save and open
Expected result: the slur is restored correctly.
Actual result: the first handle of the slur is attached to voice 2 and the slur is not well placed.
Variation, create a slur between the two quarters of voice 1. Move the second handle down to voice 2. Save and reopen. The slur is gone.
Comments
If the slur is entered directly from voice 1 to voice 2 by selecting the first note and the second note and press S. There is no problem. In this case, the track info is stored in the slur element in MSCX.
When the bug happens, the track info is stored in SlurSegment. This information is completely ignored later on.
Correct case is first
> <Slur id="2">
> <track>0</track>
> <track2>1</track2>
> <SlurSegment no="0">
> <o1 x="0.298567" y="-0.383872"/>
> </SlurSegment>
> </Slur>
124,130d130
< <Slur id="2">
< <track>1</track>
< <SlurSegment no="0">
< <o1 x="-0.740634" y="0.133422"/>
< <track>1</track>
< </SlurSegment>
< </Slur>
Fixed in 57d8f72dc9
Automatically closed -- issue fixed for 2 weeks with no activity.