ciderapp / Cider-2

Primary public repository for Cider 2.x
https://cider.sh
124 stars 2 forks source link

Closing MiniPlayer breaks window size when 2 different monitors have different scales #653

Open mpar-22 opened 3 weeks ago

mpar-22 commented 3 weeks ago

Preflight Checklist

Download Source

Discord

Operating System

Windows

Commit Hash

752bd04a1b3177ba0f1b4c954364fb0234c93467

Connect Instance ID

not-logged-in

Build Timestamp

5/31/2024, 9:49:53 PM

Describe the Bug

When you close the MiniPlayer, the window always returns to the main monitor (rather than the monitor the window was previously opened on). However, when these monitors have separate scaling factors set (in Windows Settings), it causes the window to become bigger than before upon closing the MiniPlayer.

Steps to Reproduce

  1. Move window from main monitor (125% scale @1440p, in my case) to secondary monitor (100% scale @1080p)
  2. Open the MiniPlayer
  3. Close the MiniPlayer

Anything else?

This happens on both the 2.5.0 .NET build as well as the former sabiiro build on 2.4.1.