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. qDockWidget not painting after moving - UpdateLayeredWindowIndirect failed
Forum Update on Monday, May 27th 2025

qDockWidget not painting after moving - UpdateLayeredWindowIndirect failed

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 3.0k Views
  • 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.
  • gde23G Offline
    gde23G Offline
    gde23
    wrote on last edited by
    #1

    When dragging and dropping a qDockWidget to a new location i get
    following warning

    UpdateLayeredWindowIndirect failed for ptDst=(792, 134), size=(278x525),
    dirty=(278x525 792, 134) (Falscher Parameter.)
    

    After that the widget is not painted anymore and the frame stays
    completely white.

    Platform is Windows7 64bit with Qt5.8.0

    The same source on a different machine ( Debian Strech Qt5.7.1 ) works without any warnings and the drag and drop of the qDockWidget works without any Problem.

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

      Hi,

      I wonder if it's related to QTBUG-52206. In any case, you should consider updating your version of Qt. The current is 5.10.1 with 5.11 around the corner.

      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
      1
      • gde23G Offline
        gde23G Offline
        gde23
        wrote on last edited by
        #3

        Hi,
        I have updated Qt to Version 5.10.1. on the Windows device.
        Now when I undock the widget everything is fine, however when I redock the widget (double click on the title bar or dragging back to the dock) the widget constent is not painted anymore asdescribed before and the error

        UpdateLayeredWindowIndirect failed for ptDst=(0, 149), size=(290x531), dirty=(290x531 0, 149) (Falscher Parameter.)
        

        reoccures again.
        However this time after redocking and not after undocking.

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

          Well... Looks like some kind of progress...

          Did you also try with the 5.11 beta ?

          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
          1
          • gde23G Offline
            gde23G Offline
            gde23
            wrote on last edited by
            #5

            @SGaist
            Yeah, it's some kind of progress :)
            The 5.11 beta gives the same results as the 5.10.1 does.

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

              Then I'd say you have material for a new bug report.

              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