steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Dropdown menus are not sized to match scaled contents

Open gnometsunami opened this issue 3 years ago • 17 comments

Your system information

  • Steam client version (build number or date): Jun 21 2023 21:17:38
  • Distribution (e.g. Ubuntu): Ubuntu 23.04 + Flatpak
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes
  • GPU: AMD

Please describe your issue in as much detail as possible:

The new UI is completely broken for me. The menus are scaled wrong, dont display all of the menu elements, and jump around when I mouse over it, making it unusable. Is it possible to rollback to the older version until the new version is more stable?

Steps for reproducing this issue:

  1. Move mouse over the top menus

steam-menu-glitch.webm

gnometsunami avatar Jun 23 '23 03:06 gnometsunami

Have the same problem on Majaro

owlpaste avatar Jun 23 '23 06:06 owlpaste

Same issue, UI is gigantic and the pulldown menus cannot be interacted with properly and are also not fully displayed - cropped about halfway through the words.

image

Also the settings window is completely broken:

image

No amount of attempting to adjust the scaling settings in Ubuntu / Gnome have any effect whatsoever, the Steam client just has it's own ideas regardless of any current scaling or resolution settings implemented.

urkelbot avatar Jun 23 '23 06:06 urkelbot

Update - getting into the settings window while there's an active download allowed me to toggle the scale text and icons to match monitor settings option on and off, which resulted in the client UI scaling to be ... normal? Is that the word?

image

so... is there a config variable value that is not being interpreted correctly by the new client build?

urkelbot avatar Jun 23 '23 07:06 urkelbot

I could use the old UI by starting steam from /var/lib/flatpak/exports/bin with -vgui as a command line option.

PinkysBrain avatar Jun 23 '23 13:06 PinkysBrain

~~Hello, this issue reads like a symptom or side effect of the issue being tracked at #9632. Is everybody who is seeing this issue using a higher resolution display, and have the Steam -> Settings -> Interface -> Scale text and icons to match monitor settings option set to off?~~

You should be able to workaround this issue by completely closing Steam, and running Steam from a terminal with steam -forcedesktopscaling 1 or STEAM_FORCE_DESKTOPUI_SCALING=1 steam.

kisak-valve avatar Jun 23 '23 13:06 kisak-valve

Is everybody who is seeing this issue using a higher resolution display, and have the Steam -> Settings -> Interface -> Scale text and icons to match monitor settings option set to off?

for me both behaved exactly the same

You should be able to workaround this issue by completely closing Steam, and running Steam from a terminal with steam -forcedesktopscaling 1 or STEAM_FORCE_DESKTOPUI_SCALING=1 steam.

Tried steam -forcedesktopscaling 1 that does indeed work to work around the issues here.

owlpaste avatar Jun 23 '23 16:06 owlpaste

-forcedesktopscaling 1 fixes the broken menus for me, but I have a high resolution display, so the interface now appears tiny. I can live with this temporarily.

gnometsunami avatar Jun 23 '23 19:06 gnometsunami

Thanks @kisak-valve

Is there a reason why this is not set as default as it seems to break things badly if it is not enabled? Good thing that it can be overridden it with flags though.

oappicgi avatar Jun 24 '23 13:06 oappicgi

for anyone interested, it also fixes issue where you cannot grab window to move it around. With out scaling enabled it was around one 3rd of the top window (from left) that i could grab to move window. With steam -forcedesktopscaling 1 command grabbing works from entire top section of the window. Sadly does not seem work with just setting up scale text and icons option, so i guess i will set launcher to use this flag

image

oappicgi avatar Jun 24 '23 13:06 oappicgi

This also fixes #9619 for me.

gnometsunami avatar Jun 24 '23 15:06 gnometsunami

steam -forcedesktopscaling 1 fixes it for me. (4k display, ubuntu 23.04, nvidia proprietary drivers). Had the issue if I had the scale text enabled or not.

ccrow42 avatar Jun 25 '23 04:06 ccrow42

Hello, per "Fix a case where menus could get clipped if dpi scaling is enabled." in the 2023-06-29 Steam client beta update, please opt into Steam's beta client and retest.

kisak-valve avatar Jun 29 '23 16:06 kisak-valve

Hello, per "Fix a case where menus could get clipped if dpi scaling is enabled." in the 2023-06-29 Steam client beta update, please opt into Steam's beta client and retest.

Can confirm all the scaling issues have been fixed in the latest beta. Windows are appropriately sized and can be dragged from the right side.

Caffeineix avatar Jun 29 '23 23:06 Caffeineix

Confirmed, beta solves my issues

  • Menu are scaled correctly
  • Move widow "grab area" is correctly sized

gnometsunami avatar Jun 30 '23 03:06 gnometsunami

Confirmed, beta solves my issues

  • Menu are scaled correctly
  • Move widow "grab area" is correctly sized

I've just noticed that this issue still seems to affect the steam overlay for some reason. Everywhere else, this is fixed.

Caffeineix avatar Jul 03 '23 23:07 Caffeineix

Proton list dropdown has to small width (mostly, but not always): Screenshot_20230714_164746

Proton uninstall error windows is too small: Screenshot_20230714_083925

zaps166 avatar Jul 14 '23 14:07 zaps166

Closing as fixed in the 2023-09-11 Steam client update.

kisak-valve avatar Sep 16 '23 00:09 kisak-valve