ValveSoftware / steam-for-linux

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

Most of Steam Overlay Cannot Be Interacted With on Scaled Display on Wayland #11126

Open sonic2kk opened 1 month ago

sonic2kk commented 1 month ago

Your system information

Please describe your issue in as much detail as possible:

When opening the Steam Overlay, only a small portion of it can be interacted with. Some windows overlayed on top, such as the Friends List, can be interacted with just fine. But all of the buttons except for the "Exit Game" button cannot be interacted with.

As a result of this issue, it is not possible to interact with any of the bottom portion of the Steam Overlay (to open the Web Browser, Achievements, etc) or to interact with the Overlay "X" button in the top-right.

I assume this is a result of using a scaled display on Wayland. I am using a 3840x2160 display scaled to 150% from the KDE Plasma display scaling settings, although I also have multiple monitors and none of my other displays are using scaling (and using a combination of scaled and unscaled displays has caused Wayland headaches in the past on various Wayland sessions).

There are similar issues with the new Game Recording UI (#11025), but it now extends to much of the Steam Overlay. I cannot test to confirm but I imagine the interactive region is a small square of the available overlay that the "Exit Game" button happens to be inside of, so I don't think this is a case of only one button being interactable.

Steps for reproducing this issue:

  1. Use a scaled display on KDE Plasma Wayland 6.1.3
  2. Activate the Steam Overlay in a game
  3. Much of the overlay cannot be interacted with, but some parts can (such as the Friends List)
TTimo commented 1 month ago

What do you have selected for Legacy applications (X11)? Does switching between the two settings and restarting affect reproduction? Which game are you testing this with?

sonic2kk commented 1 month ago

I have "Apply scaling themselves", which means the Steam Client and so games are not blurry on my scaled displays. I will check later if changing this setting helps, but this would unfortunately not be a viable workaround as I would be unable to play games at native 4k with my 150% scaled display (fwiw, this X11 scaling setting is the default on KDE Plasma these days, although it wasn't at first when I enabled it iirc).

This affects any game I have tested, but the ones I recall recently are:

sonic2kk commented 1 month ago

Sorry for the delay. This issue is not resolved when using the "Scaled by the system" option, so there is no workaround for this issue. Most of the Steam Overlay cannot be interacted with regardless of whether "Apply scaling themselves" or "Scaled by the system" is used.