Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved problem with window not redrawing

    QML and Qt Quick
    1
    1
    106
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Cyrille de Brebisson last edited by

      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?
      thanks,
      Cyrille

      1 Reply Last reply Reply Quote 0
      • First post
        Last post