Delete+Undo score with hide empty staves enabled revealing a whole system missing causes crash
1. Open attached score.
2. Select all.
3. Delete.
4. Undo.
Result: Crash.
Note: Applicable to a multi-stave score - hide empty staves must also be enabled from previously. It's happening to a few scores I have, but not all, so I'm not sure I can find a cause - I can reproduce with the attached sample score.
Using MuseScore 2.0 Nightly Build (4367) - Mac 10.4.11.
Attachment | Size |
---|---|
Delete Bars and Undo Crash.mscz | 2.13 KB |
Comments
For me (R4367) it only seems to happen when at least one complete stave becomes empty. So, in your sample score select system 2 and 3 and delete. This will make a full empty stave from bar 9 to 24. Ctrl-Z and crash.
No wonder this option is _disabled_ by default. When I enabled it, created a new organ score, and started to drop in line breaks, my second and following staves disappeared completely.
Thanks.
I could reproduce using your steps, but did you mean at least one complete system would become empty? Think you may have caught the problem.
What OS are you using (as you couldn't reproduce using my steps)? Maybe there was another reason.
Hide Empty Staves has a few problems currently - already posted some issues. Maybe you could post your one.
Hide Empty Staves is disabled by default when creating a score. However, I encountered this issue in a score with multiple instruments, in which Hide Empty Staves was enabled (couldn't reproduce disabled).
I should also note, I created this sample score in 1.0.
"What OS are you using (as you couldn't reproduce using my steps)?"
Win7 32 bit. No, Yes, I could reproduce the problem your way. I was just trying to see what issue would cause the crash.
"Maybe you could post your one."
My new organ score wasn't so much of a problem as the score was empty (of course). The new score exists initially on one system, but as soon as I dropped in a line break, the second (and onward) systems disappeared and only the bar numbers showed. Confused the heck out of me at first because I didn't know where to drop the other lie breaks.
I don't use Hide Empty Staves and I can certainly see how it can become easily confused (or abused).
I can't reproduce this now.
Using MuseScore 2.0 Nightly Build (5aa9268) - Mac 10.7.5.
Automatically closed -- issue fixed for 2 weeks with no activity.