Reducing actual duration of measure with text elements will corrupt measure

• Apr 13, 2016 - 20:47
Reported version
2.1
Type
Functional
Severity
S3 - Major
Status
closed
Project

Replication steps:

  1. Create or open the score barlinetext1.mscz where there are notes with text in the first measure like the:
    barlinetext2.png
  2. Right click first measure and in Measure Properties reduce the number of beats from 4 to only 1. Notice that the text elements are still present, but they should have been deleted. Also notice that there appears to be an extra measure:
    barlinetext3_.png
    However, interestingly according to debugger, that extra barline is actually somehow part of measure 1, so there is no actual new measure (just the illusion of new measure):
    debugger-corrupted-measure.png
  3. If save the score now:
    barlinetext3.mscz
    Then when reopen, it seems MuseScore tries to "correct" some of this corruption by removing the extra barline...however the text elements still remain.
    barlinetext4.png

Expected behavior: the elements selected in red should be deleted. My recommended fix would be to have musescore delete *ALL* elements after the beat of the newly selected actual duration, before musescore reduces the measure duration.


Comments