Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
problem with window not redrawing
Cyrille de Brebisson last edited by
I have a problem with the qml window not repainting when the computer goes to sleep on windows...
When the app receives the windows sleep message, some QObject property (like connected) will change.
Some Qml object uses this property to display the connected state (text: object.connected?"connected":"disconnected")...
However, when the computer restore from sleep, the qml object has NOT redrawn. The property value for text is correct, but no painting happend on the change.
I would like to see if/how I can force a redraw of my application upon a resume from sleep, but I have not manged to succeed. I have tried doing an update on my mainUi, but I get an error telling me that there is nothing to update...
Can you please help me?