klonyyy / MCUViewer

Real-time embedded variable & trace viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

High DPI font size

dzid26 opened this issue · comments

On Windows, on 4K (set to 150% dpi) or laptop "3K" (set to 200%dpi) monitors the font looks tiny.
image

Changing the font size in settings doesn't work great and it's not sharp:
image

Workaround - override high DPI settings to "System"
image

This works pretty good.
On 200% DPI everything is perfectly sharp, albeit pixels are 2x big.
image
On 150% DPI, there is a little bit of blur, but not too bad.
image

Interestingly, with DPI compatibility mode, there is a bug in Windows when grabbing the window from the very top, it grabs the app from beneath.

Was this tested on main branch? Is there still a problem or the solution that you've posted is enough?

It behaved similar on main and jlink_hss branches.

The workaround is not optimal because of lower resolution and/or blur of the fonts.
Also, the Windows bug that allows accidental dragging of an app underneath is also a bit annoying.

The original report was about the v4 and v5. This was fixed probably with #42 .

I didn't even notice it just worked correctly with the devel. Closing in anticipation of merging into the main.