Plex for Windows: launching from taskbar on monitor with different DPI results in wrong scaling

Player Version#: Version 1.82.2.4024-64f483f6

This appears to have been reported in # Plex for Windows - Resizing Bug without any response. It still happens.

The specific repro is to do the following:

  1. Have a multimon Windows device with different DPI scaling factors on each monitor.
  2. Pin Plex to the taskbar
  3. Open Plex on the main 100% DPI monitor
  4. Close Plex
  5. Launch Plex via the taskbar on a monitor with a different scaling factor

Result: Plex renders with the wrong DPI, resulting in most of the UX being clipped/not visible. The only way to resolve it is to drag the window to a different monitor which triggers a DPI change window message. When in full screen, you have to use a keyboard shortcut to exit full screen (Alt+Enter) first because the UX is not visible.

It’s likely that Plex’s window restore code is moving the window itself but not calling GetDpiForWindow to get the updated DPI after the SetWindowPos call. Note that calling GetDpiForMonitor instead is prone to race conditions.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.