Announcement

Collapse
No announcement yet.

Delete key doesn't work in some places

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Delete key doesn't work in some places

    UPDATE: Found this relatively insane old bug and that seems to be what the issue was. (Had to re-enable "Del" checkbox for the Settings->Shortcuts->Shortcuts->File->Move to Trash entry, and then restart, or at least logout/login, to have it take effect.) I'll post this anyway because more info about this crazy bug seems valuable.

    UPDATE2: you can go into dolphin->menu->configure->configure keyboard shortcuts, scroll down to Move to Trash and select it, and change from "Default: Del" to "Custom:" but leave it at "None" and it has the desired effect, and does not trigger the bug.

    ----------------------------------------------------

    I think this predated 24.04, but not 100% sure. At any rate, it persists:

    The delete key has stopped working for me in some cases.

    Places it does not work (nothing happens):

    - krunner
    - dolphin
    - keepassxc
    - the search field in the system settings
    - the search field when I hit the meta key and the KDE menu pops up

    Places where it does work:

    - firefox
    - thunderbird
    - libreoffice
    - konsole
    - if I run "sudo xev -event keyboard" I see the key press and release

    Other notes:

    - shift-delete works in Dolphin, even though delete by itself does not.

    xev results when pressing and releasing:
    Code:
    KeyPress event, serial 28, synthetic NO, window 0x4600001,
    root 0x1d3, subw 0x0, time 35597724, (817,277), root:(2272,1552),
    state 0x10, keycode 119 (keysym 0xffff, Delete), same_screen YES,
    XLookupString gives 1 bytes: (7f) ""
    XmbLookupString gives 1 bytes: (7f) ""
    XFilterEvent returns: False
    
    KeyRelease event, serial 28, synthetic NO, window 0x4600001,
    root 0x1d3, subw 0x0, time 35597772, (817,277), root:(2272,1552),
    state 0x10, keycode 119 (keysym 0xffff, Delete), same_screen YES,
    XLookupString gives 1 bytes: (7f) ""
    XFilterEvent returns: False
    This:

    Code:
    cat ~/.config/khotkeysrc | grep Key=
    ...does not reveal anything accidentally mapped to the delete key. Is there somewhere else that might be intercepting?

    Per this answer, I tried:

    Code:
    KEY=Delete; xdotool keydown ${KEY}; xdotool key XF86LogGrabInfo; xdotool keyup ${KEY}
    ...but it showed no "active grabs" for the keypress.​
    Last edited by chconnor; Jul 16, 2024, 09:20 PM.
Working...
X