Summary: | Ctrl+Backspace shortcut breaks after Konsole restart | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Max <max99x> |
Component: | keyboard | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | a.samirh78, khindenburg, max99x |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Windows CE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Max
2013-12-21 07:22:41 UTC
Confirmed - following steps produces the bad results The swapping of the keystroke is normal - it appears after a restart, the Backspace+Ctrl goes back to the 'normal' of deleting characters on the command line This is the expected behaviour (quirky, yes, but expected), from https://cgit.kde.org/konsole.git/tree/data/keyboard-layouts/README.KeyTab#n42: -------------- Note that the combination of Key and Modes (set/reset) has to be unique. This means, that key A + Shift : "A" key A : "a" will not accept the small letter "a" rule as expected, one has to add a "- Shift" to the last clause. Use the stdout/stderr dianostics of konsole when modifying keytabs to find problems like this. --------------- So the problem here is: Backspace sends \x7f Backspace+Ctrl is added to send e.g. another escape sequence (TL;DR: the latter works the first time because it's technically applied _after_ the Backspace rule, but then it doesn't work after restarting because in the saved .keytab file Backspace+Ctrl comes _before_ Backspace). So this should work: Backspace-AnyModifier \x7f or (Backspace-Ctrl if you want to make it specific) Backspace+Ctrl \b or whatever you want Backspace+Ctrl to do. The default.keytab has been changed in git recently with the above rules, so this shouldn't be an issue any more going forward. Closing as invalid since, IIUC, that's the way the keyboardTranslator code in konsole is supposed to work. :) |