Per-monitor DPI scaling issue

wouterdek

New Member
HWiNFO supports DPI scaling, but it does not seem to support per-monitor DPI scaling. I have 2 monitors, one at 150% scaling, the other at 100% scaling. When I drag HWiNFO from one screen to the other, the UI becomes blurry and the text harder to read. This is because Windows is rescaling the bitmap of the application instead of HWiNFO being rendered at the correct scale. See the attached screenshots at full resolution for an example. While it looks OK on my main monitor, you can see the text is blurry on the secondary screen. (compare for example the text in the titlebar with the "General/User Interface" label)

To fix this, HWiNFO should be not only "system DPI aware" but also "Per-Monitor V2 DPI aware". See the microsoft documentation for more info. As you already support DPI scaling, supporting per-monitor scaling could be as easy as marking it as such in the app manifest and handling the WM_DPICHANGED messages.

Thank you for your great work!
 

Attachments

  • main_ok.png
    main_ok.png
    582 KB · Views: 5
  • secondary_nok.png
    secondary_nok.png
    545.7 KB · Views: 5
No, it's rather high and I already started work on that some time ago and spent a lot of time on that.
But for some reason (unknown to me yet) things don't work as they should and I haven't been able to figure out why yet.
 
Ah, I see. It might be Window's shenanigans because a buttload of apps don't scale properly. Hell, you can't even set custom scaling per-monitor. Hope you can get it working. Regardless, I'd like to Thank you for this great program that I use every day!
 
Back
Top