Time & key signatures deleted on range delete, corrupting score

• Mar 19, 2015 - 06:45
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Ubunto 14.04, GIT commit: b4b5e28

1) new score, C major, 4/4 (optional: two staves)
2) drag 3/4 to measure 2
3) drag G major to measure 3
4) add notes to measures 1-3 (top staff)
5) select measures 1-3 (top staff)
6) Delete

Result: time and key signatures (from top staff only) are deleted as well as the notes.

This appears to be a result of the following commit:

https://github.com/musescore/MuseScore/commit/41af30e3c3fd8e0d88e30effd…

I am not sure what the intent was here, but I can't believe deleting time signatures and key signatures was the goal. That would be very counter to how things have been done in the past, and it leaves the score in very bad shape - corruption because the measures are not rewitten, but also the key signatures are now out of sync between the staves.

It would be easy enough to fix this by exempting time and key signatures from code in the above commit, but first I'd like to understand what the intent actually was. What other elements besides chordrests were we *not* deleting?


Comments