After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 118831 - 'Delete' key should not delete object when editing text
'Delete' key should not delete object when editing text
Status: RESOLVED DUPLICATE of bug 115549
Product: dia
Classification: Other
Component: general
0.91
Other Linux
: Normal minor
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2003-08-01 02:26 UTC by Jean Lavoie
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean Lavoie 2003-08-01 02:26:03 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.
Comment 1 Lars Clausen 2003-08-01 07:48:27 UTC
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.
Comment 2 Jean Lavoie 2003-08-01 17:47:59 UTC
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.
Comment 3 Lars Clausen 2003-08-01 20:13:33 UTC
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.
Comment 4 Hans Breuer 2003-12-14 11:38:40 UTC

*** This bug has been marked as a duplicate of 115549 ***