Bug 104254 - Modifiers ignored when key report has modifiers and a keycode
Summary: Modifiers ignored when key report has modifiers and a keycode
Status: RESOLVED DUPLICATE of bug 104030
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-13 23:56 UTC by Daniel Campoverde
Modified: 2017-12-17 23:01 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.