Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.4, 5.12.0 Beta 4
-
Windows, macOS
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
Issue Links
- resulted from
-
QTBUG-60231 Crash when QGraphicsOpacityEffect has 1.0 opacity and child widget has graphics effect
- Closed