Skip to content

Ctrl+Z (Undo) destroys text in the Text and Font dialog, no redo possible

Migrated from https://bugs.launchpad.net/inkscape/+bug/167262

Problem:

When typing text directly into the "Text and Font" dialog (Shift+Ctrl+T, Text tab), pressing the Ctrl+Z key or Edit menu > Undo, removes the text, with no possiblity of recovery. The Redo action (Shift+Ctrl+Z) does not recover the text. Even if Redo did recover the text, it would be easy to lose the text if more text were typed after the undo.

Workaround:

Enter text into a separate text editing application, then copy and paste the text in. This avoids accidental loss of text.

Proposed Solutions:

Disable Undo while the "Text and Font" dialog (Text tab ) text entry dialog, has keyboard focus. Or, if Undo is pressed, alert the user of the loss of data with a Yes/No dialog.

ScislaC (scislac) wrote on 2014-08-19:

It's actually even a little more broken than that... if you type text directly on canvas and then go and type more text in the text field in the T&F dialog, if you don't hit apply and hit undo it will delete the new text in the dialog plus the last letter typed on canvas. So it kind of does a "double undo" in that it does it in both places simultaneously, or at least that is how it appears.

Edited by Jonathan Neuhauser
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information