Bug 481017 - CS2 leaves taskbar manager on top of a game when alt tabbing.
Summary: CS2 leaves taskbar manager on top of a game when alt tabbing.
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 5.27.10
Platform: Other Other
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-07 15:44 UTC by gigastarcraft2
Modified: 2024-05-22 13:30 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gigastarcraft2 2024-02-07 15:44:23 UTC
STEPS TO REPRODUCE
1. Open Counter Strike 2.
2. Select Fullscreen in a video options.
3. Alt tab out and in.

OBSERVED RESULT
Taskbar above CS2 window

EXPECTED RESULT
CS2 remains in a fullscreen mode.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Artix 6.7.4
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
Comment 1 fade.mate782 2024-02-11 18:41:45 UTC
Can confirm, happens for me too.

Running Arch 6.7.4, Plasma 5.27.10, Frameworks 5.115.0, Qt 5.15.12. I'm using Wayland as my display server on an RX 6600 graphics card.

Checking "Force the use of a specific Steam Play compatibility tool" (right click Counter-Strike 2, Properties -> Compatibility) fixed the issue for me. I've tried Proton Experimental and Proton 8.0-5, both seem to work flawlessly. This change also fixed other unexpected behavior I was experiencing, such as (but not limited to) frequent game crashes - especially after Alt+Tabbing - and the brightness option under video settings not working.
Comment 2 fade.mate782 2024-02-11 19:50:44 UTC
Actually, nevermind.

Trying to play on official servers doesn't work because it causes an issue with VAC ("Some of your game files have been detected to have no signatures or invalid signatures...").

A temporary workaround is to create a Make window fullscreen shortcut for kwin and just press that every time you tab back in.
Comment 3 Zamundaaa 2024-02-15 16:22:43 UTC
Can't reproduce, while the fullscreen window is focused, the panel isn't shown in both 5.27.10 and Plasma 6.

Are there any specifics about your setup that could be relevant? Any non-default panel settings for example?
Comment 4 gigastarcraft2 2024-02-16 04:36:26 UTC
(In reply to Zamundaaa from comment #3)
> Can't reproduce, while the fullscreen window is focused, the panel isn't
> shown in both 5.27.10 and Plasma 6.
> 
> Are there any specifics about your setup that could be relevant? Any
> non-default panel settings for example?

No, I don't think so. 
It is a common issue with KDE plasama.
https://github.com/ValveSoftware/csgo-osx-linux/issues/3274#issuecomment-1944523773
Comment 5 simirmonfor 2024-03-06 19:58:29 UTC
Since arch linux added plasma 6.0.1 to the normal repos cs2 stopped being fullscreen as my top panel remains on top of the game, this didn't happen on 5.27. The issue has been observed on xorg and wayland, I can temporarily workaround the issue by manually setting it to "fullscreen" in the alt+f3 menu, but it will get unset again when alt tabbing.
Comment 6 Zamundaaa 2024-05-22 13:30:39 UTC
In https://github.com/ValveSoftware/csgo-osx-linux/issues/3274, others report it happening with other DEs, so this is a bug in the game or in SDL. You can use a window rule for a more persistent workaround