Bug 103984

Summary: Can't send escape through uinput since version 1.9.3
Product: Wayland Reporter: Francisco Lopes <oblita>
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: major    
Priority: medium CC: oblita
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Francisco Lopes 2017-11-29 23:30:44 UTC
Hi, I'm the author of caps2esc, and an ArchLinux user. I've noticed that in the last ArchLinux update, it upgraded libinput to 1.9.3, and since then, sending the escape key using libevdev_uinput_write_event to a virtual device is not producing the expected key event in the system anymore.

Up to now I only identified the issue happening with the escape key, I can't say whether it's affecting others.

Related issues:

- https://gitlab.com/interception/linux/plugins/caps2esc/issues/4
Comment 1 Francisco Lopes 2017-11-29 23:40:28 UTC
I've actually solely tested this on Xorg, should I migrate it?
Comment 2 Francisco Lopes 2017-11-30 01:33:09 UTC
The issue was identified in the user code due to a lack of SYN event when manipulating uinput. Peter Hutterer helped me on that. The commit on libinput master that triggered this is db3b6fe5f7f847075ab3af1bc0a32241143d8993.

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.