Sometimes the undo operation does not correctly undo removal of lyrics.

• Jan 19, 2019 - 20:21
Reported version
3.0
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project

Open an empty score and add some random notes. Then add a word with a dash, e.g. I added "Wan-dern", so that Wan is below one note and dern below the next one.

Now, double click on "Wan" and remove it by pressing backspace then go back with ESC.
Next, try to undo this removal of Wan using Ctrl-Z.

Expected behaviour: It should put back "Wan-"
Actual behaviour: It puts back "-" only


Comments

Status PR created fixed

Fixed in branch master, commit e5d8d86d7d

_fix #282333: fix a crash on adding lyrics on certain scores

Also fixes:
fix #282238, #280014: removing lyrics syllable by erasing its text
was not undoable properly_