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 97899 - Map the Delete menu command to the delete key instead of Ctrl+D
Map the Delete menu command to the delete key instead of Ctrl+D
Status: RESOLVED NOTABUG
Product: dia
Classification: Other
Component: win32
0.90
Other All
: Normal enhancement
: ---
Assigned To: Steffen Macke
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2002-11-07 03:01 UTC by voidstar
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description voidstar 2002-11-07 03:01:26 UTC
At least on Windows, it makes more sense from a usability point of view.
Comment 1 voidstar 2002-11-09 18:19:14 UTC
Hmm, apparently, I can highlight the menu item and change the accelerator key 
combination from there. However, it does not seem to accept the Delete key. 
Shortcomming of GTK?
Comment 2 Lars Clausen 2002-11-26 21:32:55 UTC
Under GTK 2.0, you can set the Delete key just like any other shortcut.  I thought Alan was changing these things, but I don't see the change.
Comment 3 Hans Breuer 2002-12-07 15:57:43 UTC
Really? Which version? I'm pretty sure there still is code in
GTK to make Delete the remove-this-short-cut-key which does
not allow to make Delete a short-cut itself ...

Looking further, see gtk/gtkmenu.c:gtk_menu_key_press()
[This is from the gtk-2-0 branch but I'm pretty sure 
 it'll never change]

  switch (event->keyval)
    {
    case GDK_Delete:
    case GDK_KP_Delete:
    case GDK_BackSpace:
      delete = TRUE;
      break;
    default:
      break;
    }

Setting to NOTABUG. Our at least NotOurBug :-(
Comment 4 Lars Clausen 2002-12-07 16:23:56 UTC
In at least 2.0.5, Delete will remove any existing keybinding, but if there's no current keybinding, it will set it to Delete.  At least under Linux.