Still no fix to Support Hi-DPI on Windows? (#81645)

A terrible bug that raises it’s head when Windows installs have two monitors in certain configurations. Supports Hi-DPI has to remain switched off for all our releases

Link to issue:
#81645 - Controls Appear to Disappear on Windows Builds and Xojo IDE in certain Windows Configs

the controls are all the newer desktop… controls?
or subclassed desktop controls?

maybe look what customer set as windows scaling.
or check that left monitor is primary and right secondary. different sizes or something.
check videocard driver NVIDIA, AMD, Intel

what kind of windows os? i mean up to date or outdated.

i read something about screensaver at xojo issues, maybe switch to a simple one. other one.

if possible make a vm from customers pc for a test yourself.

or wait Xojo fixed it ..

A long time at this stage waiting for a fix. My problem is it’s not just one customer. They’re all up-to-date with hardware and software. My simple solution at this stage is to wait but you low res

Could be next release, could be a decade…

What about using an older Xojo version to compile?

It is a shame that the App.AllowHiDPI cant be changed at run time. Not ideal but what about shipping both executables, AllowHiDPI = True/False? Launch the HiDPI aware and if the user has two monitors the app can lauch the other version and close itself. Ask the user, make it a user setting

Yeah, it’s not a bad idea and it’s a workaround I tried, but I have so many customers with the issue that it was better just to drop back to low quality. It was too risky to get the settings/links wrong, and I didn’t want to test my customers’ patience any further. 10 years could be right :grinning_face: How many years are we waiting PDFDocument came out in 2020 and they still can’t get right-justification right in Windows :roll_eyes:

I have seen this issue when my primary system had two displays. I’m now on a single-display system so I’m not able to reproduce it anymore. This is a bit of a shot in the dark, but when it happens, if there’s a customer you have a good relationship with, ask them to try pressing Win+Ctrl+Shift+B. This restarts the graphics driver and forces a repaint across the OS. Not sure if it will affect the Xojo Framework at all, but it’s worth a try.

Makes no sense to me. I guess Xojo has lots of tech debits linked to metrics, specially when multiple monitors have different resolutions and scales ( like one 100% and the other 125% and another 150%) Xojo calculates x,y to some other universe under some circumstances.

For what it’s worth, one of my more patient customers allow me to visit one day to try to narrow down the issue (not knowing it was a HiDPI issue at the time). I installed Xojo and ran the project, I was able to reproduce the problem within 10 minutes and Xojo displayed almost the exact same symptoms. The Project bar was gone as well as all the other controls. Menubar was selectable and you could choose items in the menubar - The only difference that I could see was, when my app would open blank windows (correct size, type and title, but no controls), where as Xojo’s Settings Window opened fine and you could see all the controls