Layout corruption + undo

• Sep 13, 2018 - 10:38
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Severity
S1 - Blocker
Status
closed
Regression
No
Workaround
No
Project
Tags

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.0.0, revision: fe51308

  1. Open attached score
  2. Remove all system breaks one by one
    Result: when you remove all breaks but last two ones, layout is corrupted.
  3. Remove the last system break
    Result: score looks good
  4. Undo
    Result: total layout corruption
    layout_corruption.gif
Attachment Size
TWO GUITARS (2).mscz 39.85 KB

Comments

Severity S2 - Critical S1 - Blocker
Priority P3 - Low
Regression No
Workaround No

Actual scenario is similar. Just add/remove system breaks when observing last two pages.

Here is a probably minimal example. To reproduce follow these steps:
1) Open the attached score.
2) Remove the line break on the second line.
3) (optional) Remove the hairpin or make it slightly shorter. This doesn't affect the bug presence but it is even more prominent that way.
4) Change pitch of any note except the one in the last measure. Or do any other edit not involving the last measure.
Result: the hairpin appears where the third line was, and in the same state as it was in the third line.

Attachment Size
two_guitars_test.mscz 3.9 KB