Closed wsy closed 8 months ago
Hi. Does the popup position right when you restart the app?
The MagicPods use primary monitor to show popup and subscribes to DPI changed event. I draw popup on this monitor (primary):
HMONITOR GetPrimaryMonitorHandle()
{
const POINT ptZero = { 0, 0 };
return MonitorFromPoint(ptZero, MONITOR_DEFAULTTOPRIMARY);
}
Yep. I reproduced the issue. I think I understand what's going on, thanks, I'll fix it in the next update
Fixed in 2.0.66.0
Device: AirPods Pro Computer: i7 6700k Bluetooth: Intel AX200 AppVersion: 2.0.59.0 x64
My computer has multiple displays.
The main display: DisplayM, 3840*2160@150% scale
Another display: DisplayA, 1920*1080@100%scale
App setting: PopupSize: Medium PopupLocation: BottomRight corner
Steps to reproduce this bug:
My guess of what happened in step 6:
DisplayM
, which is 2560x1440.current display of active window
, which is 100%.I think the bug is caused by "'
DisplayM
' is not necessarily 'current display of active window
'". Further more, if you want to always display popup window on main display, 'current display of active window
' is not necessarily where MagicPods' popup window will be displayed.