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

REG->5.9.4: QLabel using a QGraphicsOpacityEffect with opacity of 1.0 is not visible in a layout if it is not the topmost QLabel in the layout

    XMLWordPrintable

Details

    Description

      QLabel using a QGraphicsOpacityEffect with opacity of 1.0 is not visible in a layout if it is not the topmost QLabel in the layout.

      Steps to reproduce:

      • run the sample app attached
      • observe the QLabels placed inside a QVBoxLayout
        EXPECTED: All three QLabels (holding identical pixmaps) are visible
        ACTUAL: The middle one is not visible. Topmost label with 1.0 opacity is visible as well as the bottom one with opacity of 0.99

      Fixing QTBUG-60231 may have caused this ("Set sharedPainter correctly for QGraphicsEffect" 7257862fb2edfab0219d6cd45c83677049404f7d https://codereview.qt-project.org/#/c/214111/ ).

      Attachments

        1. qtbug66226.png
          qtbug66226.png
          13 kB
        2. qtbug66226.zip
          4 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              risto.sipola Risto Sipola
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes