Bug 104254

Summary: Modifiers ignored when key report has modifiers and a keycode
Product: Wayland Reporter: Daniel Campoverde <alx741>
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Daniel Campoverde 2017-12-13 23:56:49 UTC
When a USB key report has a modifier + a key code, and such a modifier was not previously reported, then the modifier gets ignored.

The issue does NOT occur in libinput 1.9.2, only since version 1.9.3

e.g.
    Key report with modifiers:  00000010 (Left shift) and keycode 0x04 (a)

    Expected: "A" (uppercase/shifted letter A)
    Obtained: "a" (lowercase letter a) - Left shift modifier gets ignored

This doesn't occur for all modifiers and all combination of letters. For instance a pre-shifted "b" does output a "B" as expected, but fails for "d", "e", etc.

This will hardly occur under normal conditions of course, the issue arises when using a keyboard that attempts to send "pre-shifted" keys to allow symbols typing on a single keystroke (without holding shift).
Comment 1 Peter Hutterer 2017-12-17 23:01:57 UTC

*** This bug has been marked as a duplicate of bug 104030 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.