Emulator Issues #12282
[Feature request] Per-monitor DPI awareness
Currently if your main monitor has 100% DPI scaling while your secondary monitor has 125% scaling, and you start Dolphin in the main monitor, then drag it to the secondary one, it will look blurry. This means it's not per-monitor DPI aware, which is sad :(
It would be cool if Dolphin was per-monitor DPI aware.
#3 Updated by danileon95 5 months ago
I thought this was already a thing.
I thought so too, but this is how dolphin looks after dragging it from a 100% scaling monitor to a 125% scaling monitor:
It's definitely DPI aware, because if I start it directly in the monitor that has 125% scaling (by setting that one as the main monitor), then it will look properly. But if I drag it to the monitor with 100% scaling, it will look blurry.
#5 Updated by danileon95 5 months ago
Hmm. Yeah I don't know how that stuff is meant to be handled anyways. Like what should happen if the window is between monitors? And I dunno if this is solvable on our end, it may be up to the Qt devs.
If the window is between monitors, it will use the scaling of the monitor that has a higher percentage of the window on-screen. So if 51% of the window is in monitor A, it will use scaling of monitor A. (note: I haven't "confirmed" this by looking at any code, but by playing around with it with a per-monitor DPI aware program, it's obvious that this is what happens)
There are many programs that already handle this case. Firefox is an easy example. Per-monitor DPI awareness is a relatively new thing, though. I believe it was "properly" introduced in the Windows 10 Creators Update (1703), as per this documentation:
#10 Updated by danileon95 5 months ago
This is indeed already a thing! As we covered here on the Progress Report, the QT 5.14.1 update brought this feature. Try 5.0-11655 or newer and it will be resolved.
But I'm running 5.0-12665...
I'll try updating later (I'm in the middle of converting my collection to .rvz) but I doubt it would make a difference if it was introduced in 11655.
It's definitely not working for me. Not sure why.
Well, I don't know what to tell you. I just gave it another try and it's working perfectly fine for me. I even set one of my displays to non-scaled and tried it, and when dragged to it Dolphin became non-scaled and sharp as it should, and it switched back to 200% when I dragged it back to my main monitor. It must be something on your end. ┐(´-｀)┌
#13 Updated by danileon95 5 months ago
Yes, my Windows 10 is up to date, it's Windows 10 2004. Dolphin is the only program that doesn't handle per-monitor DPI on my end. Firefox does, the Windows explorer does, Chrome does, Discord does, Steam does...
I'll experiment with it a bit more later / tomorrow and update this issue. Thanks
#15 Updated by danileon95 5 months ago
Do you have any compatibility modes and/or DPI overriding configured for Dolphin in Windows? That could make it do this.
No, I checked before opening the issue :(
Also, changing the DPI setting of the display (rather than dragging it across displays) also makes it look blurry.