ValveSoftware / csgo-osx-linux

Counter-Strike: Global Offensive
http://counter-strike.net
775 stars 69 forks source link

KDE Dock Panel overlap on CS2 ingame if its set to "always visible" #3530

Open itouchdennis opened 10 months ago

itouchdennis commented 10 months ago

Your system information

Please describe your issue in as much detail as possible:

I got the KDE dock panel on always visible. Its not a problem in any game, and was not a problem on cs:go. In CS2 its now overlap the game the whole time, unless I switch from fullscreen back to windowed, back to fullscreen. I now enabled "auto hide" for the dock, when the game launches its still visible, I need to press 2 times the super key on the keyboard, then its hidden. If its set on "always visible" its literally always visible in CS2 - did not happen on any other game. Welp I guess that are just workarounds, not a solid fix, would love to set the dock back to always visible. Any help appreciated.

Steps for reproducing this issue:

  1. Set up a KDE env
  2. Set up the KDE dock panel from widgets
  3. Set the dock to "always visible"
  4. Start cs2
  5. See the dock is still visible as described above image
DavutHaxor commented 10 months ago

Create a shortcut or use the one if it already exists from Settings > Shortcuts to set a window to fullscreen mode. CS2 doesnt start in fullscreen mode although its set from in-game settings. image Use this shortcut to make your game fullscreen at every time you open the game untill it gets fixed

itouchdennis commented 10 months ago

Create a shortcut or use the one if it already exists from Settings > Shortcuts to set a window to fullscreen mode. CS2 doesnt start in fullscreen mode although its set from in-game settings. image Use this shortcut to make your game fullscreen at every time you open the game untill it gets fixed

Thats pretty neat, I will use it! I also tried to automate this, the idea is:

  1. Startparam: gamemoderun %command%

  2. Having a ~/.config/gamemode.ini with custom start script included, content be something like: [custom] start=/home/XYZ/scripts/nvidia_pipeline.sh end=/home/XYZ/scripts/nvidia_pipeline_on.sh

  3. Setting some options, whatever you want (I usually disable / enable compositor on nvidia at this way)

  4. Set something like "xdotool key ctrl+alt+f" for the cs2 window to auto fullscreen the game

Its working nearly, but the gamemodescript will be first finished, before the game even pop up, so only the steam client will be resized. Adding some "sleep" into the script does not seem to work, as the gamelaunch seems to be waiting for the script to be end, so any sleep command will just also schedule the game to launch.

I think I will leave it today as it is and deal with the "manual" shortkey which is a good option, thx buddy!

vladest commented 9 months ago

RMB on CS2 icon ->More->Fullscreen works for me

depressivum commented 8 months ago

Works for me, don't have to re apply fullscreen every time again

hasanjones commented 7 months ago

Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/3530#issuecomment-1872614749

Unfortunately, this only works until you need to alt-tab. The game seems to start correctly since the latest update (in fullscreen) but once you alt-tab and return, the panel overlaps again.

depressivum commented 7 months ago

Replying to https://github.com/ValveSoftware/csgo-osx-linux/issues/3530#issuecomment-1936569841

I had this problem to. You could try "Fullscreen Force" instead of "apply initially". It is working most of times but crashing from time to time (about 4-5 alt-tab&return)....

hasanjones commented 7 months ago

Replying to #3530 (comment)

I had this problem to. You could try "Fullscreen Force" instead of "apply initially". It is working most of times but crashing from time to time (about 4-5 alt-tab&return)....

Thanks! This seems to be working as a workaround for now.

ceLoFaN commented 6 months ago

This used to happen for me in the beta, but only when starting the game. Now it happens only when alt+tab-ing, and as of about a week ago Dota2 has become affected too...

itouchdennis commented 6 months ago

Still happens to me on KDE. Switched a while to cinnamon, there its just working, on KDE I still need to apply fullscreen shortcut.

depressivum commented 6 months ago

Problem seems to be gone at least for me...

itouchdennis commented 5 months ago

Still happens (KDE - x11) - specially if you are ingame, enabled fullscreen and switch between virtual desktops and move back to the main desktop. At this point I am not really sure if valve or the KDE team should investigate this bug tbh.

hasanjones commented 5 months ago

https://github.com/ValveSoftware/csgo-osx-linux/issues/3454#issuecomment-1945281781

This seems to describe the issue from both reports. The launch option listed as a workaround works perfectly for me without using a window rule.

itouchdennis commented 5 months ago

#3454 (comment)

This seems to describe the issue from both reports. The launch option listed as a workaround works perfectly for me without using a window rule.

Thanks for the link, will try! Edit: Just tried it, as the last comment of the thread says, switching between virtual desktops breaks the workaround. Its better then nothing, but sad its still appears

CalebHeydon commented 5 months ago

This is still an issue for me when I alt tab.

thomasfinstad commented 4 months ago

https://github.com/ValveSoftware/csgo-osx-linux/issues/3530#issuecomment-1872614749

  • Open cs2

    • ALT+F3

    • more actions -> configure special application settings -> Fullscreen apply initially -> Force block compositing

Works for me, don't have to re apply fullscreen every time again

A note, this works well but if you use Fullscreen: Force instead the panel will not come back when Alt+Tab out and back in

djsiropchik commented 1 month ago
  • Open cs2

    • ALT+F3

    • more actions -> configure special application settings -> Fullscreen apply initially -> Force block compositing

Works for me, don't have to re apply fullscreen every time again

It's very cool recommendation. Thank you a lot!!! It's working!)