https://bugs.winehq.org/show_bug.cgi?id=34631
--- Comment #32 from 399989567@qq.com --- (In reply to Zeb Figura from comment #31)
*** Bug 53772 has been marked as a duplicate of this bug. ***
(In reply to jubilantjerry from comment #27)
(In reply to 399989567 from comment #26)
I also saw your post on Bug 53771, good investigative work.
I think because of these options, the transparent window doesn't show up on the dock / taskbar? WS_EX_TRANSPARENT WS_EX_TOOLWINDOW WS_EX_LAYERED WS_EX_NOACTIVATE
My guess is that the Ubuntu shortcut minimizes all windows attached to the main one, including tool windows, whereas the minimize button is actually just a normal button on the window that doesn't minimize the transparent part. Perhaps the restore logic doesn't explicitly restore the transparent window because Wechat / QQ / DingTalk expects the transparent window to always be present.
Sven, does your tool show whether windows are truly minimized or not? If so could you check if the transparent window is still there if you minimize DingTalk on Windows?
I noticed that Ubuntu itself also draws drop shadows on windows that have focus. But I verified that the shadow that lingers after minimization the app's custom shadow, not Ubuntu's. For one, Ubuntu only draws the shadow on windows that have focus. Secondly, the shadow looks different. See my attachments:
shadows_1 shows the Ubuntu drop shadow around a Firefox window that has focus vs. a lingering buggy shadow from DingTalk vs. a shadow from a non-minimized Wechat window that is not in focus. The Firefox shadow is lighter.
shadows_2 shows what I see if I give focus to the Wechat window. The Wechat shadow is darker than even the buggy shadow from DingTalk, and there's no shadow around the Firefox window. This means the Wechat window in focus has both the Ubuntu shadow and the transparent window's shadow.
These results mean that the invisible shadow window is not minimized and still rendering the shadow, as expected. What I don't know is what is supposed to happen on real Windows - does the invisible window get minimized too, or does the invisible window stay non-minimized and simply stops rendering the shadow?
I found that the reason for the problem is that the window is not added to the window manager, do you know which developer should discuss this problem with?