OpenOrienteering/mapper

Huge cursor and right-click menu on HiDPI display

Opened this issue · 1 comments

Steps to reproduce

  1. Run Mapper on HiDPI display

Actual behavior

Embedded cursors and right-click context menu is ~2x larger then it should be.

Expected behavior

The size of the graphic elements (toolbar buttons, menus etc.) is consistent.

Workaround

Settings -> General -> Screen set not native resolution. In my case 144 ppi instead of 201.

Configuration

Mapper Version: master
Operating System: Linux (X11 and Wayland)

Confirmed. This is a result of issue #592. There is scaling for implemented for displays with resolution higher (!) than 144 DPI. That is until 144 DPI the cursor and pie menu remain the same. Beyond 144 DPI they are scaled accordingly. The commit message does not give clues as to why there is the 144 DPI boundary with 1.5 magnification instead of smooth scaling starting at 96 DPI.

I'm not sure this behavior is a bug per se. On the other hand, the principle of least surprise has been breached here. The size difference between normal cursor and 1.5-times larger cursor is quite big.

Screencast.from.2023-04-02.14-13-29.webm