Also have this problem, modifier keys (Alt, Shift, Ctrl) frequently get stuck when focusing another window (which in my case is by mouse focus, i.e. I just move the mouse to another window—no clicking, no keyboard keypress.)
Best way I’ve found to reproduce this is:
- configure window manager for mouse focus (e.g. cinnamon/gnome: settings -> windows -> behaviour -> window focus mode “sloppy”)
- start 2 EVE clients, select chat window or some input box on each
- press (and hold!) Shift+A in first client
- move mouse to second client. bug #1: second client inputs lowercase ‘a’
- release keys
- move mouse to first client.
- press A (no shift). bug #2: first client inputs uppercase ‘A’ even though shift is no longer pressed
Hitting all modifier keys solves this, but it’s quite annoying tbfh. Unfortunately this might be somewhat buried of a bug, somewhere along the X11 -> Wine -> EVE keyboard event handling chain… still, if CCP fixes one bug for Linux, I think this is the one to try…
(@CCP_Falcon maybe a strategically placed force-release of modifiers on WM_KILLFOCUS?)
(Addendum: mouse focus is the extreme case here, but I’m pretty sure this is the same issue as stuck Alt on Alt+Tab.)