https://bugs.winehq.org/show_bug.cgi?id=57423
Bug ID: 57423 Summary: Active window no longer receives keyboard input after losing and regaining focus (only in virtual desktop) Product: Wine Version: 9.21 Hardware: x86-64 URL: https://www.strandedonline.de/s2_download.php OS: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: rbernon@codeweavers.com Regression SHA1: 0dc7e4046836595335cd64c92cc132791d78fba4 Distribution: ArchLinux
After alt-tabbing out of the running application then switching back to it the application no longer receives keyboard inputs. Pressed key are appearing in the terminal instead. Mouse keeps functioning properly. Seems to only affect virtual desktop mode.
Reverting commit 0dc7e4046836595335cd64c92cc132791d78fba4 (winex11: Ignore focus changes during WM_STATE transitions.) fixes the problem for me.
Tested on XFCE 4.18 using XFWM window manager. X.Org X Server 1.21.1.14.
Stranded 2 demo can be used to reproduce the problem. Start <Adventure> from the main menu, use WASD to move around. After alt-tabbing keyboard no longer works.
stranded2_setup_en.exe 12 MB md5sum: 036adad1e0047419ac1d510572f542a1
wine-9.21-138-gae6366b33c7