#877811 xorg: FN key causes stuck keypress

Package:
xorg
Source:
xorg
Description:
X.Org X Window System
Submitter:
Martin Graham
Date:
2017-10-05 21:36:07 UTC
Severity:
important
#877811#5
Date:
2017-10-05 21:33:51 UTC
From:
To:
Dear Maintainer,

This is a bug on my Lenovo Yoga 710 laptop. As far as I know, it happens in all X11 applications (but not outside of xorg).

To replicate, e.g., I can hold down the right arrow key, then hold the FN key, then release the arrow key, then release the FN key.

In xev, this produces keypress/keyrelease events separated by ~30ms, with the next keypress immediately after the previous keyrelease event, until I change windows.

I think this is because the FN + right key combination recognizes the "End" key being unpressed, and assumes the right arrow key is still pressed.

This has caused a stuck backspace in emacs when I code multiple times, and while brevity is important to me, sometimes those lines are even more important.