MediaInfo 23.07 is still not DPI awareness
MediaInfo 23.07 is still not DPI awareness, this issue is since from version 18.05.
very blurry
vs
manually changed dpi by application:
win10
maybe the developer still use 1080p monitor
maybe the developer still use 1080p monitor
True. also our sponsors, so not their priority, but we understand that this is annoying, we need at some point to find how to fix that. Patch welcome if you know.
If manually setting the DPI works as mentioned in the first post, adding the following to the manifest should do it. No other changes needed if everything is displayed properly after enabling high DPI.
<asmv3:application>
<asmv3:windowsSettings>
<dpiAware>true</dpiAware>
<dpiAwareness>PerMonitorV2</dpiAwareness>
</asmv3:windowsSettings>
</asmv3:application>
For GDI-based applications:
<asmv3:application>
<asmv3:windowsSettings>
<gdiScaling>true</gdiScaling>
</asmv3:windowsSettings>
</asmv3:application>
Edit: browsing this repo it seems MediaInfo is using VCL, in that case maybe this will help: https://blogs.embarcadero.com/windows-10-and-modern-high-dpi-display-support-in-delphi-and-c-builder/
I tried implementing high DPI support to MediaInfo. Here's how it looks compared to existing version at 150% scale.
Overall everything seems to look fine. There's a bit of alignment difference in the menu bar and the sponsor(AD) button became blue on hover for some reason. I do not know how to further improve this.
Here's how it compares in Process Explorer showing the DPI-awareness.
I noticed the official MediaInfo is not built with DEP and ASLR enabled?
I fixed the sponsor(AD) button became blue on hover issue. Does this look okay? (screenshots taken with DPI set to 150% scale)
Should I create a pull request?
Should I create a pull request?
It would be greatly appreciated!
I noticed the official MediaInfo is not built with DEP and ASLR enabled?
We checked a bit that some time ago but didn't finish to check as we don't know much about it so we weren't sure about what we do, if you have a patch ready we take it :).
We checked a bit that some time ago but didn't finish to check as we don't know much about it so we weren't sure about what we do, if you have a patch ready we take it :).
For enabling DEP and ASLR, just need to enable these two options in Project Options:
It appears to be auto-enabled here so I don't know whether these settings are saved in the project file or not.