Remove selected range/note/rest in a score with parts results in corruption/crash

• Jan 13, 2020 - 10:02
Reported version
3.3
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
duplicate
Regression
No
Workaround
No
Project

Current 3.3.4 (and 3.4 beta) /Windows 10

1) Load this test file (basically, four measures of SATB with some notes): selected remove parts.mscz
2) First staff/Soprano: Delete (Ctrl + Del) the quarter rest, fourth beat, in first measure.
3) Select the TWO first measures, same first staff always, and remove its content (Del)
4) Toggle in Soprano part, result: big problem ie corruption
corruption1.jpg
5) Select the "weird" first measure with a few rests, and delete (Del)
6) Return in main score: empty measure

corruption2.jpg

The file at this state (with warning and corruption): 1 selected remove parts.mscz

  • There is other scenarios (included by doing the deletion in first Soprano part) that lead to the same harmful result, and whose source seems to be that the total deletion (Ctlr + Del) combined with that of a content (Del) is not supported, updated in parts, and therefore vice versa.

Comments

When deleting the rest (step 2) the measure property len is changed from 4/4 to 3/4. But in the parts, len is not changed. Deleting the parts after step 2 and recreate the parts solves the issue.

Yeah, it's a duplicate. When I filled out the last report, I was pretty sure I filled one or two with this "Timewise" problem in scores with parts. I wasn't sure exactly when. I checked a few minutes, though. I usually find them into the Search. Not this time, I don't know why exactly (my list of bugs report over the last years is probably too long, and some are fixed, some are in progress, some are with PR, in short, it's a bit of a mish-mash, where I got fooled, sorry).

@cadiz1 : no need to apologize :-)
Your testing work (and manual bi-section) is always an extremely valuable resource in finding and fixing bugs. Thank you.
Better two reports about the same bug than none at all ;-)

Fix version
3.4.1