GNOME Bugzilla – Bug 118831
'Delete' key should not delete object when editing text
Last modified: 2004-12-22 21:47:04 UTC
When text is edited, hitting the 'Del' key causes the object holding the text to be deleted. The object can be a text object or an object with text inside it (like the 'Box with text inside' of the 'Flowchart' sheet. The correct behavior should be to delete the character at the right of the caret.
That's a major problem with the current text entry method. People have been calling for the shortcut for deleting objects to be Delete for ever, now we gave it to them, and this is what happens. I'll be looking at text entry after the upcoming release, until then I'm thinking we should either leave delete object without a shortcut or use Ctrl-D.
Wouldn't it be possible to detect the two possible modes: object having focus in text editing mode and object having focus but not in text editing mode? The Del key would be assigned to 'delete the character at the caret' in the former case and to 'delete the object' in the latter case.
Hmmm... if we can figure out what has Delete assigned, we could remember it while editing. It should be possible to set it back on unselect. The same really goes for any non-control character used as a shortcut, but Delete is really bad.
*** This bug has been marked as a duplicate of 115549 ***