wxHexEditor
wxHexEditor copied to clipboard
Per-monitor DPI
At least on Windows, this application is not properly DPI aware when using 2 monitors with different DPI settings. As the Microsoft documentation explains, applications should rescale based on the DPI of the monitor the window is located on. It seems wxWidgets supports this, as I was able to find a resolved issue and a pull request related to this, but wxHexEditor does not.
The result is that the application is either very blurry or pixelated. Click on the image below for an example.
Luckily, as you can see in this small commit from a similar wxWidgets application, this may be easy to resolve.
Wow. Thank you for detailed bug report. I don't understand that why wxWidgets solves this automatically and need programmer interaction. I will (try to) make required changes at next bug hunting session. I don't know how to verify it under KVM/qemu. I never try to add second monitor nor if it supported. But might switch to Win10 temporarily for this bug (yup I got 2.nd monitor). Thanks!
Hi, I read that recent wxWidgets 3.1.3 release support wxMSW HiDPI settings.
- Add support for per-monitor DPI under new enough OS versions (Maarten Bent)
So not need to fight with patches. Will try to make changes soon.
Anyone could comment on it, if it's fixed with compiled with latest wxWidgets library?