https://bugs.winehq.org/show_bug.cgi?id=44181
Bug ID: 44181 Summary: Window with style WS_POPUP does not stay in front of his parent in unmanaged mode Product: Wine Version: 3.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: bernd.amend@outlook.com Distribution: ---
Created attachment 59944 --> https://bugs.winehq.org/attachment.cgi?id=59944 Test case
Windows with style WS_POPUP don't stay in front of their parent in unmanaged mode ("Allow the window manager to control the windows" is disabled). In managed mode everything works as expected.
The attachment "Test case" (https://pastebin.com/AbDih95E) illustrates the issue. The Test Popup should always stay in front of the Main window. If I comment out the lines dlls/winex11.drv/event.c:581 and 582 (tag: wine-3.0-rc2) the example works as expected.
Any hints on how I can fix this issue?
I tested wine 2.22, 3.0rc1, and 3.0rc2 (identical to git master).
https://bugs.winehq.org/show_bug.cgi?id=44181
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- Z-order constraints are not enforced in unmanaged mode, because we rely on the window manager to do this. Is there any reason you can't use normal managed mode?
https://bugs.winehq.org/show_bug.cgi?id=44181
--- Comment #2 from Bernd Amend bernd.amend@outlook.com --- The application I have to run has issues with large Desktops. Using "Emulate a virtual desktop" fixes these issues and makes working with the application much nicer. The only issue is that the application heavily depends on Popup windows that have to stay in front of the main application.
https://bugs.winehq.org/show_bug.cgi?id=44181
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- It may be useful to file bugs about the issues you have with large desktops, unless it's broken on Windows too.
For Z-order in desktop mode, that's basically the same as bug 24352.
*** This bug has been marked as a duplicate of bug 24352 ***
https://bugs.winehq.org/show_bug.cgi?id=44181
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com --- Closing