[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#818695: [xkb] Sticky modifiers are not released by pressing ISO_*_Group keys



Package: xkb-data
Version: 2.12-1
Severity: normal

Pardon for filing the bug under presumably wrong package, it does not seem that the problem is somewhere in /usr/share/X11/xkb/, but I could not find package that would fit better, so I hope that dear maintainers of xkb-data know where this belongs to.

The problem:

Sticky modifiers (latches) are not released (cleared) by pressing a key that switches a keyboard layout.

Minimal steps to reproduce:

$ setxkbmap -layout us,ru -option grp:shift_caps_switch
$ xkbset sticky

Press Shift, release Shift, press Caps, release Caps.

Actual result:

Layout is successfully switched, but Shift is still pressed.

Expected result:

Layout is switched, Shift modifier is cleared. I. e. I expect that layout switching keys (ISO_*_Group) should treat sticky modifiers as any other key on keyboard do.

Of course the same applies to any hotkey that involve modifiers: shift_caps_toggle, alt_shift_toggle, ctrl_shift_toggle, etc.

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.16.0-4-amd64

Debian Release: 8.2


Reply to: