cnc-ddraw
cnc-ddraw copied to clipboard
DPI scaling issue with Tiberian Sun
I've had this issue for a while where, when using high DPI scaling on Windows, the game sometimes won't go fullscreen, instead it just minimizes. I have a UHD display so I use 150% DPI scaling by default, and run the game on fullscreen mode, usually in 1280x720 resolution (game resolution doesn't affect the issue though).
This bug happens in "sessions": when the problem appears, it usually persists until I reboot Windows, or if I revert to no (100%) scaling. It doesn't occur during every Windows session though, for some reason.
try this. Or something in compatibility DPI app options.
https://thegeekpage.com/disable-display-scaling-on-high-dpi-settings/
Could you generate me a debug log please? Link: https://github.com/CnCNet/cnc-ddraw/issues/44
Can't reproduce+stale
I did not notice the replies before. App-specific DPI settings don't help, I've tried it. Only reliable way is to change the Windows DPI to 100 % but I obviously can't use that all the time.
Could you generate me a debug log please? Link: #44
Nothing unusual in it (looks about the same on my end), just that it doesn't minimize here.
I added some more logging trying to print out the name of the window that stole the focus:
This may have been fixed in 5.6.0.0 as I haven't experienced it since.