On Thu Dec 18 10:48:46 2025 +0000, Dmitry Timoshkov wrote:
Do you have a case where a window can be made visible under Windows without SWP_SHOWWINDOW? As far as I'm aware that was/is the only way to show a window. This cannot work based only on the SWP flags signal edges. There are various cases where the host window needs to be kept unmapped until it can actually be shown (offscreen, layered windows, ...) and we then need to check the Win32 window state to decide too. Maybe the whole thing could be changed and maybe tracking SWP flags to latch a visibility flag somewhere could be better, but this doesn't seem like a reasonable change during regression fixes. I also definitely don't know and wouldn't bet on any guarantee of what can actually be done with user32.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9793#note_125793