Delete contents of partial measure causes wrong rest in next measure

• Apr 26, 2017 - 14:24
Reported version
2.2
Type
Functional
Severity
S4 - Minor
Status
closed
Project

2.1-dev (ad8ef22) Win 7

See attached score. A new bug, not there in 2.0.3.

1. Select staff 2, measure 1.
2. Press Del.
Result: A half note rest appears in measure 1 (as expected?). BUT a half note rest also appears, wrongly, in voice 1, measure 2.
3. UNDO
Result: Now there is a quarter note rest missing in voice 1 of measure 2.

The following issue may be connected: #28886: Full measure rest created in next measure if changing length of chordrest in voice 2,3,4 creates rest at end of measure?

Attachment Size
delete_rest_bug.mscz 8.98 KB

Comments

Status (old) needs info active

You're right. The issue has been fixed, somewhere along the line, in the latest 2.1-dev (2839f55). Could someone link this post to the appropriate fix? Thanks.

It would be disconcerting to me to not know what fixed this, as the problem could still be lurking. However, I think I know: I am pretty sure it was my fix for #188051: Regression: Removing the content of measures after deletion of the time signature causes corruption/crash. In particular, see my comment in https://musescore.org/en/node/188051#comment-700151. "Delete" on a measure whose actual duration differs from nominal produced corruption. This bug existed only for a few weeks during 2.1 development.

So yes, I would say we can consider the matter closed.