ValveSoftware / steam-for-linux

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

Menus and other child windows are rendered on the primary monitor if any or both monitors is disconected while the client is not on the primary montiro #10837

Open braiam opened 7 months ago

braiam commented 7 months ago

Your system information

Please describe your issue in as much detail as possible:

On a fresh started client, all child elements, like menu toolbar boxes, boxes that appear while hovering Store/Library/Community/Profile, and game properties and other child windows, are rendered consistent with the main window in the same non-primary/right monitor. Whenever both monitors are shutdown/disconnected, the main window will be rendered on the screen it is positioned, but the child elements would be created to the right edge of the primary/left screen. Moving the main window to the primary screen doesn't fix the issue, but the child elements are rendered where they should be relative to the main window. Restarting the client does fix the issue.

Steps for reproducing this issue:

  1. Have multiple screens/monitors
  2. Put the main steam client window on the screen that is not primary
  3. Turn off both screens
  4. Turn on both screens
  5. Click the "Steam" item in the menu bar
  6. See as it's not rendered below the cursor but in the primary screen
perroboc commented 6 months ago

Want to add that disconnecting the secondary monitor causes this issue, too. Please see attached image:

image

Fedora 40 Steam Beta Branch: Steam Beta Update Steam Version: 1714854927