CryoByte33/steam-deck-utilities

Window scale issues with external displays, unexpected behavior

JValtteri opened this issue · 1 comments

Scaling too small - issue

Steps to reproduce:

  • Run the current version
  • Have a larger external display connected
  • Have the Deck's display set as the primary

What happens:

  1. the program window starts on the larger display is the size of a postage stamp, with no way of resizing the window.
    It looks like the window is scaled down for the external display
    The size on the Deck own display is fine.

  2. The text on the button to submit the sudo password is a pixel soup.
    It looks like a zoomed in crop of a white image (or text), about 3 by 13 pixels in size.

I have the LCD version of the Deck.
My previous version I had was either 2.0-63 or 2.0-66

Scaling change - issue

Steps to reproduce:

  • Run the current version
  • Have a larger external display connected
  • Have the larger display set as the primary
  • Drag the window from the external display on to the Decks display and back.

What happens:

  1. scaling changes unnecessarily (to huge)
  2. scaling isn't restored, when dragged back to the larger display

(Description and title updated with new findings)

After looking at the code and doing some testing, both issues arise from having the small Steam Deck display set as the primary display. Setting the bigger display as the primary display restored the expected behavior.

During the testing, I encountered a different problem. If the window is dragged back to the Deck display,

  1. the scaling changes unnecessarily (to huge)
  2. isn't restored, when dragged back to the larger display