You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Settings window going off-screen after disconnecting 4K monitor
- Fix IsPositionValid to use SystemParameters.VirtualScreen* (DIP units)
instead of MonitorInfo.WorkingArea (physical pixels) to avoid DPI
coordinate mismatch on high-DPI and mixed-DPI multi-monitor setups.
- Fix AdjustWindowPosition and SetWindowPosition to correctly calculate
the max boundary as VirtualScreenTop + VirtualScreenHeight - ActualHeight
(was VirtualScreenHeight - ActualHeight), which incorrectly allowed
windows to extend beyond the bottom/right edge when VirtualScreenTop
or VirtualScreenLeft were non-zero (e.g., monitors above/left of primary).
Co-authored-by: VictoriousRaptor <10308169+VictoriousRaptor@users.noreply.github.com>
0 commit comments