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

Child widgets do not receive paint events under certain cirumstances

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.3.0 Beta1
    • 5.1.1, 5.2.0 RC1, 5.2.0, 5.2.1
    • None
    • Win7/8 VS2012 64bit Qt5 git stable

      When a child widget with WA_StaticContents and WA_OpaquePaintEvent set is spontaneously exposed due to a parent resize, the child will not receive a paint event, and the backing store for the child area will remain black.

      The attached minimal example demonstrates the issue.

      I believe the solution is due to a subtle logic error introduced into the new widget backing store code in Qt5. I will submit a change set shortly.

        1. badreveal.PNG
          3 kB
          Chris Colbert
        2. main.cpp
          1 kB
          Chris Colbert
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jolind Jorgen Lind
            sccolbert Chris Colbert
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes