[branch 1.2] Inserting measures corrupts score with tuplets

• Feb 16, 2012 - 09:55
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Steps:
1) Open the enclosed score
2) Select measure 5
3) Delete.
All looks good.
4) Close score discarding changes
5) Open the score again
6) Insert one measure before measure 1
7) Select measure 6, the one that used to be measure 5, the first one in the second system
8) Delete. Result looks like this:
14992-1.png
9) Undo. Check the first rest in the following measure, it's gone.
14992-2.png
Score is now corrupt.

Attachment Size
14992-1.png 5.81 KB
14992-2.png 9.73 KB
14992.mscz 3.59 KB

Comments

Further analysis.
I looked at the inspector. Looking at the first bar, here is what the tuplet looks like before the insertion of a measure.
NOT FOUND: 01
After the insertion, it looks like this
NOT FOUND: 02
The tick of the tuplet is not updated. Is this correct? I noticed that if a measure is deleted, the tuplet tick is also not updated.

Attachment Size
14992-3.png 18.22 KB
14992-4.png 19.01 KB

It has nothing to do with the missing time signature. I added one and the problem is just the same. I enclose the new score.

To clarify step 8): Delete means delete, not delete measure. Originally I did a cut, which shows the same problem as delete (since internally it copies onto the clipboard and then deletes).

Attachment Size
14992-with timesig.mscz 3.59 KB
Title [branch 1.2] Inserting measures corrupts score. Simple example. Reproducible. [branch 1.2] Inserting measures corrupts score with tuplets
Status (old) active fixed

Fixed in r5332
Please test further.