Summary: | Defocused fullscreen apps sometimes continue to display over everything else | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Nel <nel.n.lindberg> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | adam.cosner, dakky198, lexlexlex, linx.system.adm, nate, postix, postnozet, xaver.hugl |
Priority: | NOR | ||
Version First Reported In: | 6.1.5 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/f509ff21c1c74e1e345ec56d6b41bb57d01ccd54 | Version Fixed In: | 6.1.4 |
Sentry Crash Report: | |||
Attachments: | How to reproduce |
Description
Nel
2024-03-21 12:56:29 UTC
After testing using the overview as a temporary fix as suggested by Zamundaaa <xaver.hugl@gmail.com> it seems changing focus to another window with the overview always works unlike the method described here. I can confirm the issue, happens only under Wayland. The issue was in Plasma 5, and still persists in the latest Plasma 6.0.3. Another example, sometimes Spectacle selection may not appear in full-screen game. This problem seems to reproduce only in games through XWayland. I cannot reproduce, for example, in Quake 2 RTX with SDL_VIDEODRIVER=wayland and games through gamescope I think is the same issue: https://www.reddit.com/r/kde/comments/1bwk5lb/alt_tabbing_junkiness_in_full_screen_apps_with/ Does unchecking "Click raises active window" in Window management > Window behavior helps? Created attachment 170015 [details] How to reproduce (In reply to username from comment #4) > I think is the same issue: > https://www.reddit.com/r/kde/comments/1bwk5lb/ > alt_tabbing_junkiness_in_full_screen_apps_with/ > Does unchecking "Click raises active window" in Window management > Window > behavior helps? No, unchecking "Click raises active window" does nothing to this issue. I can reproduce 100% with these steps: 1. Run the game, but you should have no other active windows (only the window with the game) 2. Press Alt + Tab, you see 1 window with the game, release keys 3. Press Meta key, the game becomes defocused, but nothing appears over the game A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6175 Git commit d01e20b6a9b455c209fea0e1e4eba7976a8a051f by Xaver Hugl. Committed on 29/07/2024 at 11:15. Pushed by zamundaaa into branch 'master'. activation: don't add the active window to should_get_focus list The matching X11 focusIn event will never arrive, and so the window is stuck in the list and messes with activation until it's no longer the active window and then active later again M +4 -0 src/activation.cpp https://invent.kde.org/plasma/kwin/-/commit/d01e20b6a9b455c209fea0e1e4eba7976a8a051f Git commit f509ff21c1c74e1e345ec56d6b41bb57d01ccd54 by Xaver Hugl. Committed on 29/07/2024 at 11:44. Pushed by zamundaaa into branch 'Plasma/6.1'. activation: don't add the active window to should_get_focus list The matching X11 focusIn event will never arrive, and so the window is stuck in the list and messes with activation until it's no longer the active window and then active later again (cherry picked from commit d01e20b6a9b455c209fea0e1e4eba7976a8a051f) Co-authored-by: Xaver Hugl <xaver.hugl@gmail.com> M +4 -0 src/activation.cpp https://invent.kde.org/plasma/kwin/-/commit/f509ff21c1c74e1e345ec56d6b41bb57d01ccd54 *** Bug 482912 has been marked as a duplicate of this bug. *** I am running KWin version 6.1.5 which I believe has the committed fix from August 5th, and I still see this issue as I described today in my comment in the above-linked duplicate issue ticket. Most of the games I have automatically minimize on alt+tab, but Spider-Man Remastered doesn't, and the issue doesn't happen for me anymore. Do you have any other games where this happens? Yes. I can reproduce it right now with the following games: - Twilight Survivors (only when set to "fullscreen" instead of "borderless fullscreen") - Yume Nikki For the record, I just tested the following games that it was happening with recently and I could no longer reproduce it in them, so I think something has improved: - Dragon Quest Heroes II - Dragon Quest XI S: Definitive Edition - Dragon Quest Monsters: The Dark Prince I believe Yume Nikki is an RPG Maker game, so I expect the issue may happen with other RPG Maker games. Yume Nikki is a free download on Steam, so that may be easy to test with. I found it by looking for free games in my library and running various ones to test the issue. *** Bug 494605 has been marked as a duplicate of this bug. *** I can reproduce this bug on the latest Plasma 6.2.0 release using the game Throne and Liberty. |