csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

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

Open itouchdennis opened this issue 2 years ago • 16 comments

Your system information

  • System information from steam https://gist.github.com/itouchdennis/b3bfa12c843fe1d71d99ff274cc4285d
  • Have you checked for system updates?: [Yes]

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

itouchdennis avatar Nov 03 '23 20:11 itouchdennis

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

DavutHaxor avatar Nov 08 '23 08:11 DavutHaxor

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!

itouchdennis avatar Nov 08 '23 15:11 itouchdennis

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

vladest avatar Nov 28 '23 14:11 vladest

  • 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

depressivum avatar Dec 30 '23 22:12 depressivum

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.

hasanjones avatar Feb 09 '24 20:02 hasanjones

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)....

depressivum avatar Feb 09 '24 20:02 depressivum

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.

hasanjones avatar Feb 09 '24 22:02 hasanjones

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...

ceLoFaN avatar Feb 13 '24 16:02 ceLoFaN

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

itouchdennis avatar Mar 03 '24 20:03 itouchdennis

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

depressivum avatar Mar 05 '24 18:03 depressivum

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.

itouchdennis avatar Mar 25 '24 10:03 itouchdennis

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.

hasanjones avatar Mar 25 '24 18:03 hasanjones

#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

itouchdennis avatar Mar 25 '24 20:03 itouchdennis

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

CalebHeydon avatar Mar 31 '24 00:03 CalebHeydon

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

thomasfinstad avatar May 05 '24 08:05 thomasfinstad

  • 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!)

djsiropchik avatar Aug 06 '24 21:08 djsiropchik