vrchat-community / creator-companion

The Entry Point for Making Things in VRChat
https://vrchat.com/home/download
64 stars 454 forks source link

[BUG]Window position not saved with certain multi-monitor setups #516

Open i0ntempest opened 3 months ago

i0ntempest commented 3 months ago

Describe the bug

I have a 3-monitor setup, lets say from left to right they're monitor 1, 2, and 3 and 2 is set as the primary monitor. VCC will not save its window location if put on the monitor 1, that's the one at the left. I'm guessing it's because the X coordinate is negative in this case and an incorrect check caught this and just resets the window location.

To Reproduce

  1. Launch VCC
  2. Drag to monitor 3
  3. Relaunch VCC
  4. Observe window opens on monitor 3 at the location last closed
  5. Drag to monitor 1
  6. Relaunch VCC
  7. Observe window opens on primary monitor 2 instead of the last closed location on monitor 1

Expected behavior

Window position should always be remembered

Screenshots

No response

Related Product

VCC (VRChat Creator Companion)

Product Version

2.3.2

OS

Windows 11

Additional context

No response