Paste and undo causes crash

• Mar 2, 2012 - 16:12
Type
Functional
Severity
S4 - Minor
Status
closed
Project

1. Open attached score.
2. Drag-select only the notes.
3. Copy.
4. Click on the rest in the treble stave of the next bar.
5. Change to minims.
6. Select the second minim.
7. Paste.
8. Undo.

Result: Crash.

Using MuseScore 1.1 and 2.0 Nightly Build (5399) - Mac 10.6.8.

Attachment Size
Paste And Undo Causes Crash.mscz 2 KB

Comments

Which notes do I need to select in step 2? Only the notes? Which ones? Why don't you post a picture. Almost impossible to not the select the rests between the notes. This is what I selected:
NOT FOUND: 01

Then, with pre-release 1.2 I get a crash when I try to copy to the second minim, I don't get to the undo. In any case, the crash upon paste isn't there any more in R5428.

We don't worry about the fact that the copy result is somewhat suboptimal, since the notes in the bass aren't copied?

Attachment Size
15283.png 15.5 KB

Yes, for 1.1 and 1.2, step 7 crashes it. Step 8 only applies to the trunk. I forgot to state this.

You have selected the notes that will crash it - regarding the rests, it's the ones outside the notes that you don't select.

No we don't worry about the fact that the result is suboptimal. At least in 1.2. The work around is to make the following staff nice before pasting. Feel free to post a better patch for trunk.

Currently, pasting appears to have no effect at all if you have the pickup selected. If you omit the pick, then the paste works fine, as does undo. No more crash for me.