https://bugs.winehq.org/show_bug.cgi?id=57650
Bug ID: 57650 Summary: osu! stable: Insert key to minimize to tray does not hide game window (regression) Product: Wine Version: 10.0-rc4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: wine@horvath.blog Distribution: ---
Created attachment 77786 --> https://bugs.winehq.org/attachment.cgi?id=77786 broken "x11drv,systray,event" log
Regression commit: 0cda91856138e1d49fcfd9b6c2c9328146616baa
From: RĂ©mi Bernon rbernon@codeweavers.com Date: Thu, 14 Nov 2024 11:53:52 +0100 Subject: [PATCH] winex11: Request window state updates asynchronously.
--- dlls/user32/tests/win.c | 7 +-- dlls/winex11.drv/event.c | 101 +++----------------------------------- dlls/winex11.drv/window.c | 41 +++++++++++----- dlls/winex11.drv/x11drv.h | 3 +- 4 files changed, 37 insertions(+), 115 deletions(-)
Before this commit, pressing the insert key properly unmapped/minimized the window to the system tray. After, it still adds an icon to the tray, but the game window remains open. The tray icon can still be clicked to remove the icon as before.
This problem still occurs on current Wine master (5942da6c) with minor differences, but the issue of not minimizing started with this change.
I mainly use i3wm, but I get the same behavior on swaywm (with the floating dock instead).