Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Dockable widget stops painting on window resize
Forum Updated to NodeBB v4.3 + New Features

Dockable widget stops painting on window resize

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 573 Views 1 Watching
  • 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.
  • H Offline
    H Offline
    HelpWithQT
    wrote on last edited by HelpWithQT
    #1

    So there is a video painting properly to a widget. When the widget is popped out, the widget screen turns black (the set background color), even though the video is still evidently decoding / images are coming in. The widget starts painting again if I either load a new video into the same widget or, interestingly enough, if I pop the widget back in. Likewise, if I first load the video with the widget popped out, it stops working when I pop it in. I resize the viewport / projection matrix etc. My current guess is that it has something to do with the context changing - somewhere in the code for loading the video there must be something that's dependent on the initial context and doesn't adjust itself to having a new one, which would explain why things start working again when the widget is put back into its original place.

    As this is a proprietary professional project I am limited in what details I can share, so I apologize if there isn't enough information for you to work with. I was just wondering if this is some common bug / anyone has encountered a similar issue before.

    1 Reply Last reply
    0
    • H Offline
      H Offline
      HelpWithQT
      wrote on last edited by
      #2

      OK, got it.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        You should at least give the Qt version you are using as well as platform your a running.

        You can also check the bug report system to see if you can find something similar.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved