We have a strange behavior that happens more and more with our software when an user using Windows (10/11) have 2 screens with different scaling percentage when deconnecting/reconnecting the screen.
Main screen:
125%
Screen 2 (connected through HDMI):
150%
Placing windows on the second screen and disconnecting/reconnecting (the number of time differs but the bug always appears at certain moment)
So when disconnecting the second screen, the opened windows of the software are now displayed on the main screen and some looks like that:
And clicking on the window does not restore it at all.
I tried some code to force all the windows to restore their minimum width/height on the activated event of the app, but I am facing a different issue where the windows are restored but with controls not displayed/drawn. Hovering them with the mouse sometimes redraw them but the labels remain gray and are not redrawn.
All the controls are in desktop containers embedded in the window.
We see this too when using a Remote Desktop connection. When I remote into a virtual machine running Windows 11, the Remote Desktop scales to my screen. When other people remote into the same virtual machine, the Remote Desktop scales to their screen. On many occasions, when I remote in, I find the Xojo app running but the window is complete missing just like your screen shot. I haven’t tried to fix it since it is basically just annoying at this point.
Hello,
I am not sure if this is the same thing, well the change of scale do something but the result is not the same. The window is not “blank”. I am still investigating to see if I can have more info