http://bugs.winehq.org/show_bug.cgi?id=58872
Bug ID: 58872 Summary: Activated windows (via alt-tab) are not raised (sometimes). Product: Wine Version: 10.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: chiitoo@gentoo.org Regression SHA1: 8094acfbfddf0681d6c9fa2d61788da7d7b781cf Distribution: Gentoo
This might be invalid/a KWin-X11 issue, but so far it seems that after 8094acfbfdd [1], applications running via Wine sometimes "confuse" the window manager with regards to what is the currently active window.
So far I can not re-produce the bad state at will, but it feels like it happens quite often, starting with the mentioned commit, which looks like it might(?) indeed have something to do with this.
What sometimes happens is, I have 1 game window in "full screen windowed" mode in one monitor, and usually a second instance in a smaller window in another monitor, though they may be in the same monitor sometimes too.
I then alt-tab to, for example, the Konsole terminal emulator, but the game window stays visible, and any input goes into Konsole; even though it is not visible, it is the active window.
I can then alt-tab more, and the bad state remains until I do... something... possibly switch the active window using the mouse, or alt-tab through more different windows. I haven't yet quite figured out what restores the state.
I don't think I updated KWin or anything else before this started happening, and I spent quite a while with bisecting this, but as it is someawhats random-like still, I can't say anything for sure yet.
Does the mentioned commit look like it could be related to this?
Thank you!
1. https://gitlab.winehq.org/wine/wine/-/commit/8094acfbfddf0681d6c9fa2d61788da...