Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-83131

Corruption in widgets after calling QWidget::winId

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 5.12.1, 5.14.2
    • Fix Version/s: 5.12.9, 5.15.0
    • Labels:
      None
    • Environment:
    • Platform/s:
      Windows

      Description

      I'm experiencing some drawing issues, mostly in QDockWidget splitters and QTabWidgets after calling QWidget::winId on one of the widgets contained the central widget. I've attached some example images showing it working when not calling winId and not working after calling winId, along with the test application to reproduce the issue. I've also tried putting the call to winId in a QTimer to be called after 5 seconds, but I get the same behaviour once the timer finishes.

       

        Attachments

        1. winId_bug.zip
          3 kB
        2. Capture1.PNG
          Capture1.PNG
          9 kB
        3. Capture.PNG
          Capture.PNG
          12 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            vestbo Tor Arne Vestbø
            Reporter:
            floofy.kh Kyle Hewitt
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes