Copying passage with cross-staff slur causes a crash
Steps to reproduce bug
1. Open the attached score.
2. Copy the bass clef and paste it into the empty measure.
MuseScore crashes.
Note: MuseScore did not crash when the treble clef was copied and pasted.
MuseScore version 2.0.2, revision dd4530e, nightly build. (Windows 10)
Attachment | Size |
---|---|
Error.mscz | 5.58 KB |
Comments
You mean copy the 1'st measure bass staff, right? Yes, that crashes.
The crash occurs as we try to update the selection after the paste, and we are failing to find the start element for the copied slur. It's the second slur, which technically extends from the bottom to top staff, that causes the problem. Not sure why; other cross-staff slurs are fine, even when combined with cross-staff notation like this one is.
Some other examples from scratch.
- cross test.mscz
And variation with the original file:
- Error_5.mscz
- No crash with this Nightly on July 30, 2014: e7e9d9f
Result:
- Crash the same day with this one: a8f472c
Result:
No sure, but maybe here?: https://github.com/musescore/MuseScore/commit/61ba89d8b9bab449860ca4bd0…
For fix: #28501: Copy / paste doesn't propagate slurs correctly to linked staves/parts
See: #84241: Between-voice slurs cause crash when pasted
Crashes in 2.0.2, but not in nightly d349682. Marking as fixed.
After pasting:
NOT FOUND: 1
Note:
The slur probably shouldn't be there and is placed incorrectly. New bug?
Still crashes for me; probably something system dependent.
EDIT: well, it crashes using a 2.0.3 build from a little while ago, not with a build from master, but I also get the wrong attachment of the slur. Maybe this is related to #81321: Slur anchor wrong?
So this is fixed for master, but not 2.0.3.
Regarding the slur:
Upon further inspection, the slur is actually anchored to the rest, so it's probably not related to the slur anchor issue.
Created issue: #103681: Cross-staff slur is copied even when end anchor is not copied
I cannot reproduce with 2.1
Automatically closed -- issue fixed for 2 weeks with no activity.