klonyyy / MCUViewer

Real-time embedded variable & trace viewer
GNU General Public License v3.0
824 stars 82 forks source link

High DPI font size #48

Closed dzid26 closed 6 months ago

dzid26 commented 6 months ago

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

dzid26 commented 6 months ago

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.

klonyyy commented 6 months ago

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

dzid26 commented 6 months ago

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.

dzid26 commented 6 months ago

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.