Summary: | KWin sometimes does not emit client.windowShown when OpenGL is used as rendering backend | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | serviceskde |
Component: | scripting | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | kdenis, sjkingo88 |
Priority: | NOR | ||
Version: | 5.22.3 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
serviceskde
2020-06-15 12:33:01 UTC
I can consistently reproduce this issue on Gentoo, KWin version 5.22.3: New windows are still not managed tiled by Kröhnkite, but tiling kicks in after switching to another virtual desktop. Switching from OpenGL 2.0 compositor to OpenGL 3.1 just fixed it for me. Interestingly, this comment [1] claims that switching from 3.1 to 2.0 fixed it. Maybe Something (tm) is reset after changing the compositor? That's right. If you switch from OpenGL 3.1 to OpenGL 2.0, compositing will be restarted. As for the issue itself, I recommend avoid using the windowShown signal. KWin may decide not to emit it in some cases even if the window is effectively hidden. The alternative is to check whether a particular window is on the current activity/virtual desktop + minimized state. (In reply to Denis Kurz from comment #1) > I can consistently reproduce this issue on Gentoo, KWin version 5.22.3: New > windows are still not managed tiled by Kröhnkite, but tiling kicks in after > switching to another virtual desktop. KWin will emit the windowShown and the windowHidden in that case. This bug was reported against an outdated version of KWin. We have made many changes since the. If the issue persists in newer versions can you reopen the bug report updating the version number. |