ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 174 forks source link

Part of the main Steam client window gets cut after opening another window on same workspace in i3 #8268

Open FoPeJLb opened 2 years ago

FoPeJLb commented 2 years ago

System information

OS: Arch Linux Kernel: x86_64 Linux 5.15.4-zen1-1-zen Shell: bash Resolution: 1920x1080 WM: i3-gaps CPU: Intel Core i7-8700 @ 12x 4.6GHz GPU: NVIDIA GeForce GTX 1060 6GB RAM: 15945MiB

Issue description:

When there is only one Steam window in an i3 workspace everything is fine. However, when I open another window on the same workspace, the right side of the Steam client window gets cut. It looks like there is something wrong with the window size calculation. Also, the UI becomes very unresponsive, which could be fixed by manually resizing the main client window to its correct size, when the whole UI is visible. I have also tested other applications like firefox, wps, krita, kdenlive, obs, discord, telegram - the problem is only with Steam main client window. I have also tried the default i3 config, to exclude the possibility that the problem is in my config, and the problem remained. I have this problem in both i3-wm and i3-gaps packages. How to solve this problem? Or is it always necessary to resize it when opening new windows on the same workspace with Steam to get rid of lags?

i3-gaps (horizontal)

изображение

i3-gaps (vertical)

изображение

i3 and default config

изображение

kisak-valve commented 2 years ago

Hello @FoPeJLb, there's some discussion on #1040 and #807 related to this. My second-hand understanding is that your window manager is forcing Steam smaller than its set minimum size and having a bad time. There should be some way to configure i3 to treat Steam as a floating window so that it is not influenced by window layout changes.

notoriousjere commented 2 years ago

Hello @FoPeJLb, there's some discussion on #1040 and #807 related to this. My second-hand understanding is that your window manager is forcing Steam smaller than its set minimum size and having a bad time. There should be some way to configure i3 to treat Steam as a floating window so that it is not influenced by window layout changes.

Wouldn't it be better if the window manager handled managing the steam windows?