Slurs from one voice to another don't save properly
Discovered in the course of fixing Issue #24245: Slur attaches to note in wrong voice after save/load. Slurs neither save nor restore correctly when the slur finishes on a different voice from the one it starts in.
The fix for #24245: Slur attaches to note in wrong voice after save/load now allows slurs within a voice to be restored correctly. The fix for this issue completes the solution.
Comments
https://github.com/musescore/MuseScore/pull/654
Travis fails:
Start 6: tst_compat
6/31 Test #6: tst_compat .......................***Failed 0.77 sec
Related to your changes or is Travis just in a bad mood?
Looks like the failure was specifically on the slur test, and based on the diffs, it appears these are expected failures - that is, the tests simply need to be updated. Which is to say, 2.0 was producing incorrect results with some slurs before, and the tests had been fudged to expect those incorrect results.
Should just be a matter of doing a visual inspection of the slurs-test.mscx file in 2.0 against the slurs.mscx file in 1.3 to be sure it is now creating the slurs correctly, and assuming so, update the slurs-ref.mscx file to add the missing track2 tags.
As Marc says, the test is built on the previous, incomplete, operation.
I'll correct the test and submit a patch for it soon.
https://github.com/musescore/MuseScore/pull/661
Damn! There are a lot of errors. Are those really as a result of this change? Some of them seem entirely unrelated, they're not even all spanners, are they?
Werner merged the PR and, I believe, fixed the tests now, in 391e02c160
Automatically closed -- issue fixed for 2 weeks with no activity.