⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

problem with window not redrawing

  • Hello,

    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?

Log in to reply