Clef in systems other than first not initially drawn in Page View upon undo of measure deletion in Continuous View

• Nov 10, 2014 - 20:54
S4 - Minor

1. Create piano score.
2. 'Continuous View'.
3. 'Edit'>'Select All'.
4. 'Edit'>'Measure'>'Delete Selected Measures'.
5. 'Page View'.

Result: Clefs in systems other than the first don't appear.

Note: If you do something to the score (e.g. add a note), the clef will re-appear.

Using MuseScore 2.0 Nightly Build d888bc9 - Mac 10.7.5.


The steps above leave out the final step: "Undo". Otherwise, there are no systems at all :-)

Interesting bug. At the point when you deleted the measures, there *was* only the initial clef. So in one sense, "Undo" is doing exactly what it should - restoring things exactly as they were. Of course, in this particular case, it would make sense for it to *not* restore things exactly as they were, but instead exactly as they would have been had you been in Page View at the moment you deleted the measures. I'm not sure what the best solution is. One possible answer is for "Undo" to always force an additional layout. This could also provide a cheap fix for a couple of other issues - I'm thinking of #36266: All the Lines and Fretboard Diagram displayed twice after undoing move and #30081: Undo key signature doesn't work on second staff.