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

Child widgets do not receive paint events under certain cirumstances

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • 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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes