Bug 482359 - Pressing "Delete Word Backward" (Ctrl+Backspace) doesn't work.
Summary: Pressing "Delete Word Backward" (Ctrl+Backspace) doesn't work.
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (other bugs)
Version First Reported In: 24.02.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: qt6
: 497700 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-04 07:34 UTC by Link
Modified: 2025-06-19 04:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Link 2024-03-04 07:34:26 UTC
SUMMARY
Pressing "Delete Word Backward" (Ctrl+Backspace) doesn't work (it just delete 1 character instead of 1 word)

STEPS TO REPRODUCE
1. Open konsole
2. Type something more than 2 characters
3. Press Delete Word Backward (default to Ctrl+Backspace, configured in Settings under Keyboard / Shortcuts)

OBSERVED RESULT
Konsole only delete 1 character

EXPECTED RESULT
Konsole delete 1 word.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
OS: KDE Neon 6.0
Graphics Platform: Wayland
Comment 1 John Kizer 2024-12-29 19:40:03 UTC
*** Bug 497700 has been marked as a duplicate of this bug. ***
Comment 2 Link 2025-06-09 17:33:33 UTC
Coming back to this, it looks like Alt+Backspace in Konsole works like Ctrl+Backspace in other applications (deleting 1 word at a time). Is it possible to change that Alt+Backspace keybind to Ctrl+Backspace somehow?
Comment 3 nilskemail+kde 2025-06-09 18:30:27 UTC
(In reply to LTS20050703 from comment #2)
> Coming back to this, it looks like Alt+Backspace in Konsole works like
> Ctrl+Backspace in other applications (deleting 1 word at a time). Is it
> possible to change that Alt+Backspace keybind to Ctrl+Backspace somehow?

This is due to the way Konsole sends the key to the terminal. For some reason Konsole sends it as Ctrl+H which is equivalent to a normal Backspace. Your shell (likely bash) is then responsible for deciding what to do with that sequence - this is not something Konsole can decide but rather you shell's key bindings
Comment 4 John Kizer 2025-06-19 04:34:22 UTC
Just adding a link here that was on the other linked report - I don't know enough to be sure, but I suspect this is intentional based on the comments and resolution to https://bugs.kde.org/show_bug.cgi?id=391075