srwi / EverythingToolbar

Everything integration for the Windows taskbar.
Other
9.62k stars 419 forks source link

Incorrect window position and scaling on multi-monitor or hidpi setup #252

Closed NosefU closed 1 year ago

NosefU commented 2 years ago

Preflight Checklist

EverythingToolbar Version

0.8.0.0

Windows Version

Windows 11 Pro 21H2 build 22000.856

Steps to reproduce

  1. Connect second display.
  2. Go to Windows Prefences > System > Display
  3. Set Scale of one of displays other than 100%, or reposition the displays so that their bottom edge is not on the same horizontal axis.
  4. Open toolbar
  5. See error

Expected Behavior

The toolbar is displayed in the middle of the main screen with a vertical offset similar to the Start menu

Actual Behavior

The toolbar is displayed with an offset to the right and/or up relative to the Start menu position (see screenshots)

Screenshots

Resolution of both screens is 1920x1080, main display is 2 (left).

image Scale of display 1 is 125%, 2 - 100%, located at an offset along the horizontal axis.

image Scale of both screens is 100%, located at an offset along the horizontal axis.

image Scale of both screens is 100%, the bottom edge of both screens are on the same horizontal axis.

image Scale of display 1 is 125%, 2 - 100%, the bottom edge of both screens are on the same horizontal axis.

Log output

There is no EverythingToolbar.log file in %TEMP%

Additional Information

No response