SUMMARY When alt-tabbing out of a Wine game in fullscreen mode, the game auto-minimizes. Upon trying to re-focus its window, it gets brought back but displays a freeze frame and does not update anymore. This does not happen on Plasma/6.3; everything works as expected prior to 6.4. It also does not happen with the Wayland driver for Wine. STEPS TO REPRODUCE 1. Launch a Wine game (I tested both Black Mesa using Proton and Doom 2016) 2. Alt+Tab out of it 3. Attempt to return to it OBSERVED RESULT The game freezes EXPECTED RESULT The game continues running normally SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.3.90 KDE Frameworks Version: 6.14.0 Qt Version: 6.9.0 Kernel Version: 6.14.6-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 20 × AMD Ryzen AI 9 365 w/ Radeon 880M Memory: 32 GiB of RAM (27.2 GiB usable) Graphics Processor: AMD Radeon Graphics
Bisected to: 0b6decb103b01187d7665cc9942687df1f1ff22f is the first bad commit commit 0b6decb103b01187d7665cc9942687df1f1ff22f Author: Xaver Hugl <xaver.hugl@gmail.com> Date: Wed Jan 1 22:26:25 2025 +0100 remove the x11 operation mode, and the x11 standalone backend
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/7623
Git commit ba13665e9ea72da5e52c8d486dc97c9e987498c1 by Vlad Zahorodnii. Committed on 17/05/2025 at 12:49. Pushed by vladz into branch 'master'. Properly unmap minimized and hidden X11 windows Amends 0b6decb103b01187d7665cc9942687df1f1ff22f. This is what kwin used to do prior to the split. Video games probably break because they monitor UnmapNotify events, and with internalKeep() they never arrive. M +2 -2 src/x11window.cpp https://invent.kde.org/plasma/kwin/-/commit/ba13665e9ea72da5e52c8d486dc97c9e987498c1
Git commit a49dc8e4e7a11677f22d08247a4cb015cee210bd by Vlad Zahorodnii. Committed on 17/05/2025 at 12:50. Pushed by vladz into branch 'Plasma/6.4'. Properly unmap minimized and hidden X11 windows Amends 0b6decb103b01187d7665cc9942687df1f1ff22f. This is what kwin used to do prior to the split. Video games probably break because they monitor UnmapNotify events, and with internalKeep() they never arrive. (cherry picked from commit ba13665e9ea72da5e52c8d486dc97c9e987498c1) M +2 -2 src/x11window.cpp https://invent.kde.org/plasma/kwin/-/commit/a49dc8e4e7a11677f22d08247a4cb015cee210bd
*** Bug 504555 has been marked as a duplicate of this bug. ***