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
https://bugs.winehq.org/show_bug.cgi?id=57423
--- Comment #1 from Béla Gyebrószki gyebro69@gmail.com --- Actually, the bug can be reproduced in winecfg itself after you set up a virtual desktop: go to the libraries tab, enter some characters in the input field then alt-tab to loose focus and alt-tab again to regain focus.
https://bugs.winehq.org/show_bug.cgi?id=57423
mrdeathjr28@yahoo.es changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mrdeathjr28@yahoo.es
https://bugs.winehq.org/show_bug.cgi?id=57423
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |be6902d072377c2d2b80e6418b2 | |d9ff39ca8eefb Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- Fixed by commit be6902d072377c2d2b80e6418b2d9ff39ca8eefb (winex11: Listen to PropertyNotify events on the virtual desktop window.)
Thank you.
https://bugs.winehq.org/show_bug.cgi?id=57423
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.22.