https://bugs.winehq.org/show_bug.cgi?id=49933
--- Comment #54 from Rémi Bernon rbernon@codeweavers.com --- I doubt that any spec says that focused windows should stay behind others. Input focus requests can be refused, but this is not the case here.
Input focus is given to the installer window, but it's not raised. It makes no sense to do that, but it's also not the first time we encounter WM bugs.
FWIW the bug is present with all the WM I could test with and which have a pager (mutter, openbox, kwin). The issue is likely that they raise the window that the user switches to, the invisible owner, but not necessarily the transient windows that actually get focus if their parent is invisible or minimized.
The owner window is not raised neither focused, and instead focus is delegated to its owned popup, as it should be, which however isn't automatically raised.
Note that the issue also isn't present if we don't set the _NET_WM_STATE_SKIP_PAGER hint, whether we switch to the owner or the owned window in that case the owned window always get raised.