https://bugs.winehq.org/show_bug.cgi?id=51176
Olivier F. R. Dierick o.dierick@piezo-forte.be changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE CC| |o.dierick@piezo-forte.be Status|NEW |RESOLVED
--- Comment #1 from Olivier F. R. Dierick o.dierick@piezo-forte.be --- Hello,
I think I've experienced this issue since forever.
I remember reading somewhere an explanation that wine cannot update the key state once alt-tab is pressed because the WM catches the key release and doesn't inform Wine. Wine still thinks that alt is pressed. when returning to the wine window, wine still thinks the alt key is pressed and every key stroke is alt'ed. In the case of pressing 'enter' this make it do alt+enter (usually bound to windowed/fullscreen switch). Pressing other keys give other undesired results depending on alt+key bindings in the application. Pressing and releasing alt while the wine window is active resets the key state and fixes the issue temporarily until the user alt-tab out and in again.
Unfortunately, I can't remember where I got that and don't have a reference at hand.
This issue has been reported as bug 35976.
It is possible that the issue depends on the Window Manager/Desktop Environment behavior, so adding that information to the existing bug may be useful.
Regards.
*** This bug has been marked as a duplicate of bug 35976 ***