Deleting measures leads to corrupting the other linked staff if their display has been reversed
Reported version
3.2
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.2.3.7635, revision: d2d863f
1) Create a new score with two linked staves, eg Guitar + Tablature template
2) « I » → Move up the second staff (for displaying the TAB staff at the top)
3) Enter notes in a few measures
4) Save/Exit the program/Reload
(the test file at this step : test inversed staff.mscz )
5) Remove (Del) the content of the measures (one or more), from the TAB staff, eg
6) Undo
Result : corruption, empty measure in the mirror/linked staff (expected 4/4, found 0/1)
After reloading, you get (one example) : test inversed staff 1.mscz
Fix version
3.4.2
Comments
See https://github.com/musescore/MuseScore/pull/5600.
The cause of the issue is in saving a file created that way (that is, on step 4 from the issue report) so the fix prevents the issue from happening only in newly created files.
Fixed in branch master, commit c5d735ce48
fix #293181: fix file corruption after reordering linked staves
Fixed in branch master, commit 05524b9622
_Merge pull request #5600 from dmitrio95/293181-reordered-linked-staves-corruption
fix #293181: fix file corruption after reordering linked staves_
Automatically closed -- issue fixed for 2 weeks with no activity.