I'm working on an HMI that is basically done, however I'm kind of worried about the fact that occasionally on screen switch instead of a successful screen switch it will go to a grey screen (every root container I have in the program is grey) with nothing on it. To fix it I have to close and reopen the software. This has happened several times now on random screens. What could be causing that?
Have you checked the client logs (Ctrl + Shift + F7 is the shortcut to open the diagnostics if you don't have the menu bar enabled) to see if any errors are being thrown when this happens?
The most likely explanation is something's going wrong in a script that's preventing the window that's supposed to open from opening correctly, so you're getting the default client background when no windows are opened.
Thanks for the reply, figured it out and it turned out to be a weird truncating issue due to slightly larger object than screen size.
1 Like