After my monitors turn off (10 minutes of inactivity), when I return to the PC, the Xojo IDE doesn’t redraw and appears like this. I have to close the application and open it again.
Edit to clarify: It is only the monitors turning off. The system is not going to sleep.
Running Win10 with an RTX 4090. Latest nvidia drivers.
Anyone else experiencing this, or know any workarounds? It’s really annoying!
That’s pretty peculiar the monitor power status has nothing to do with wether the video memory needs to be redrawn. So long as the system remembers that there is a monitor attached it should keep the video memory alive and show it when the monitor gets power again. There should be nothing for the software to do.
If the monitor is somehow signalling the system that the monitor is “removed” it could kill the video buffer. Windows on that display should then be moved to another still attached monitor, or at the very least signal a paint event when it is restored.
It would be worth checking what ever the monitor control panel is called these days, ie the settings for the display. What settings are there for the display, perhaps one of them is in need of changing.
It seems like a problem with the monitor / windows configuration, rather than anything to do with Xojo. Do other applications on the display also do the same thing?
I’m having a similar issue on windows. I’ve got a desktop app running 24/7 on a computer that I remote desktop into. Each time I remote in, the app is running but needs to be redrawn. I just close and restart. This has only been happening recently.
I also have a problem like this with one of my apps on a server that is running 24/7 where I access via remote desktop.
Not every time, but 2-3 times a week, the app window is white with no control visible. I forced a Refresh every time I click on the window and also tried changing the window size but nothing happened, the only way to display the window again is to quit and relaunch the app.
When the problem appears, the app seems to work normally, performs routine tasks in the background and consumes 2-5% CPU. I don’t have a precise date, but seems that the problem appeared with a version of Xojo 2022Rx
Of course this problem only occurs at one customer and it is impossible to reproduce it so far in the office…
I use X2022R4.1 on Win10 via Microsoft RDP. The “Xojo Server” is a headless machine (No Monitor, no Keyboard, …) and if i do not access it for a while (can’t exactly say how long…) it shows the same screen in the RDP Client as @Matthew_Dinmore1.
I have the feeling it happens since 2022 versions and never before.
in my case this also happens when I launch the application from debug and then, having tested the app, I go back to the ide which remains without project objects and with only the menus
Just wanted to “ping” you by quoting, as you might be interested in trying the discovered issue with incorrect Window Bounds and Controls placed in negative positions (and with negative Heights).
To anyone - thanks for additional Feedback/Information (in Issues) if you can reproduce this (such as other situations/setups compared to my initial Issue), and maybe a “Thumbs up” should this kind of issue be relevant for you, too.