[konsole] [Bug 329065] Ctrl+Backspace shortcut breaks after Konsole restart

Ahmad Samir bugzilla_noreply at kde.org
Sun Mar 4 19:34:46 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=329065

Ahmad Samir <a.samirh78 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|CONFIRMED                   |RESOLVED
                 CC|                            |a.samirh78 at gmail.com

--- Comment #3 from Ahmad Samir <a.samirh78 at gmail.com> ---
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. :)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list