protonscr

DPI scaling broken in the new steam UI update

steamclosed
ValveSoftware/steam-for-linux#9740 · opened 2023-06-27 by TheBeardOfTruth · updated 2023-06-27 · 1 comments · github
TTheBeardOfTruth 2023-06-27 github

Your system information

  • Steam client version (build number or date): 1687386907
  • Distribution (e.g. Ubuntu): Arch Linux (Linux-Zen-6.3.9), Xorg X11 running BSPWM, no compositor.
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes
  • Steam Logs: steam-logs.tar.gz
  • GPU: Nvidia ( 535.54.03 )

Please describe your issue in as much detail as possible:

After installing a steam update I found the UI had changed, this is in and of itself largely irrelevant if not for the fact that this update broke DPI scaling.

The relevant option:
image

I have had Steam's DPI scaling turned off for a long time since it's always been scaling the text larger than I prefer, in this case it was still off.

The end result of this is that Steam started up being ULTRAFAT (see screenshot 1), all menus being defunct.

Completely broken UI scaling

Menus are inaccessible in this state

Screenshot_2023-06-27_13-59-22

Naturally I could not access settings to fix this, but after some searching I found the commandline parameter -forcedesktopscaling 1.0, this does successfully disable DPI scaling and results in a very pleasant looking steam UI that isn't oversized.

-forcedesktopscaling 1.0

Using this option I could then access the settings menu to see if I could locate a more permanent fix to this issue, as having to use commandline flags to override behaviour is rather unwieldy and not a good permanent fix.

The only relevant setting appears to be turning DPI scaling on and off, so for good measure I tried with DPI scaling ON as well:

DPI Scaling on

Steam is still ULTRAFAT with this flag on (but at least the menubar works, so settings is accessible).

This, then, leads to the obvious conclusion that the DPI scaling setting is broken in Steam version 1687386907 as both screenshots are virtually identical, aside from cropping differences.

The expected behaviour is that steam should perform no DPI scaling whatsoever with DPI scaling turned off, and not scale everything but the dropdown menus (effectively ignoring the setting and breaking the menubar).

Steps for reproducing this issue:

  1. Run steam on a system using a bare WM, ideally bspwm with one or more 4K screens.
  2. Launch version 1687386907 with no command line parameters
  3. Scaling should be very large.
  4. Turn DPI scaling off
  5. Scaling should still remain very large.
Kkisak-valve maintainer 2023-06-27 github

Hello @CocaineJohnsson, this issue is already being tracked at #9632 / #9708. Closing as a duplicate.

Nothing extracted yet.