Crash on deleting all notes from part with mmrests; corruption on undo when doing same in score
Ubuntu Studio 14.04, GIT commit: 9c9a464
1) new score, or use default
2) enter one or mote notes
3) "M" to enable mm rests
4) select all
5) delete
Result: crash
Depending on whether you actually select all or just the one measure where you entered notes, the specifics of the crash differ.
Comments
Fixed in 1886d6d911
Fixed for the steps given, but it does still crash if instead of turning on mmrests in the score, you generate parts and visit a part (which will have mmrests turns on by default). That is, relace 3) in the original with
3a) File / Parts
3b) New All, OK
3c) view part
I see how the fix worked (figured that might be it), I'll see if I can do the same for parts.
Hmmm. Back to the original steps:
No crash any more upon hitting "Delete" in the main score as mentioned. But now hit "Undo" twice (first to undo the delete, then to undo the mmrest).
Result: measure 2 is now completely empty - no full measure rest.
Fixed in 178da4112f
Sorry, there are still crashes here.
The steps in #2 still crash using exactly those same steps - create score, add note, generate parts, view part, select all. delete .
Also, regarding #3, while the crash immediately upon undo is gone, if you then follow those same steps - score, add note, M, select all, delete, undo, undo - and then select all and delete again, it crashes in the same place, even though mmrests are no longer turned on.
sorry, a last minute edit (after my testing) destroyed the fix....
Fixed in 2f8b9d12f2
Verified, both crashes are now fixed. Thanks!
Automatically closed -- issue fixed for 2 weeks with no activity.