HiDPI / per-monitor DPI scaling is incomplete on Windows
ZenDesktop appears to declare Per-Monitor DPI Awareness V2, but the UI does not scale correctly on HiDPI displays.
- Windows 10 21H2 LTSC IOT
- Resolution: 2560×1600
- Display scaling: 175%
- ZenDesktop version: v1.0.28
Observed behavior:
- Fence dimensions / spacing do not scale correctly with Windows display scaling.
- Text and/or icons appear too small or incorrectly proportioned.
- UI elements do not appear to consistently follow the current monitor DPI.
- If the window/fence is moved between monitors with different scaling factors, the UI does not resize appropriately.
Expected behavior:
ZenDesktop should scale its text, icons, layout dimensions, hit targets, and fence geometry according to the DPI of the monitor it is currently displayed on.
It may be worth checking whether DPI-dependent layout values are recalculated on WM_DPICHANGED, rather than only setting DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2 at startup.
A useful test case would be:
- Set Windows scaling to 150%.
- Start ZenDesktop.
- Compare text/icon/fence sizes against standard Windows desktop elements.
- If possible, move the fence between a 100% monitor and a 150%/200% monitor.
I can provide screenshots or additional system information if needed.
HiDPI / per-monitor DPI scaling is incomplete on Windows
ZenDesktop appears to declare Per-Monitor DPI Awareness V2, but the UI does not scale correctly on HiDPI displays.
Observed behavior:
Expected behavior:
ZenDesktop should scale its text, icons, layout dimensions, hit targets, and fence geometry according to the DPI of the monitor it is currently displayed on.
It may be worth checking whether DPI-dependent layout values are recalculated on
WM_DPICHANGED, rather than only settingDPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2at startup.A useful test case would be:
I can provide screenshots or additional system information if needed.