Crash on redo after deleting a key signature
Reported version
3.1
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
Steps to reproduce:
- Default “Untitled” score.
- Add a key signature to measure 5.
- Delete the key signature.
- Undo twice.
- Redo twice.
At this point, MuseScore will crash.
Fix version
3.2.1
Comments
This is a result of 7425757, which was to fix #277038: Concert Pitch does not show up on consecutive pages. But since
e
is generated, there is no need to push its removal to the undo stack. It can simply be deleted from the segment. See https://github.com/musescore/MuseScore/pull/5146.Fixed in branch master, commit 1c8c51aa24
fix #291051: Crash on redo after deleting a key signature
Fixed in branch master, commit 9d7f4e460e
_Merge pull request #5146 from mattmcclinch/291051-keysig-redo
fix #291051: Crash on redo after deleting a key signature_
Fixed in branch 3.2.1, commit 36463854f8
_Merge pull request #5146 from mattmcclinch/291051-keysig-redo
fix #291051: Crash on redo after deleting a key signature_
Automatically closed -- issue fixed for 2 weeks with no activity.