Crash on undoing of cutting a multiline text
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S1 - Blocker
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
Steps to reproduce:
1. Create a new score, select some note or rest.
2. Add a staff text (Ctrl+T).
3. Type "test", press Enter.
4. Select all (Ctrl+A)
5. Cut (Ctrl+X)
6. Undo (Ctrl+Z).
Result: crash.
Interestingly, if I try to do the same but simply delete the text instead of cutting it then no crash occur.
Comments
See https://github.com/musescore/MuseScore/pull/4315.
Fixed in branch master, commit 7abf6b9b3a
fix #279369: fix a crash on undoing of cutting a multiline text
Fixed in branch master, commit cd8bf56c0d
Merge pull request #4315 from dmitrio95/279369-text-cut-undo-crash
fix #279369: fix a crash on undoing of cutting a multiline text
Automatically closed -- issue fixed for 2 weeks with no activity.