Skip to content

HiDPI scaling issues at 2560×1600 with 175% scaling #1

Description

@0x696c757a696f

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:

  1. Set Windows scaling to 150%.
  2. Start ZenDesktop.
  3. Compare text/icon/fence sizes against standard Windows desktop elements.
  4. If possible, move the fence between a 100% monitor and a 150%/200% monitor.

I can provide screenshots or additional system information if needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions