Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.8, 5.15.9, 6.2.4
-
-
a382134a40 (qt/qtbase/dev) a382134a40 (qt/tqtc-qtbase/dev) 673cb7f011 (qt/tqtc-qtbase/5.15) e26af754af (qt/qtbase/6.3) e26af754af (qt/tqtc-qtbase/6.3) 673cb7f011 (qt/tqtc-qtbase/tqtc/vxworks-5.15.10) 673cb7f011 (qt/tqtc-qtbase/5.15.10_QtAS)
Description
When using a QGraphicsOpacityEffect on a widget (with for example opacity of 0.7), repainting the widget makes the graphics effect apply multiple times (enterEvent and leaveEvent repaints in the sample application). Disabling/Enabling the graphics effect resets this stacked graphics effect rendering (focusInEvent and focusOutEvent in the sample application).
Attached videos about working (5.15.7) and non-working (5.15.8) situations.
Attached sample application (based on Qt's MDI example) reproduces the issue, reproduce steps can be seen in the videos.
Attachments
For Gerrit Dashboard: QTBUG-102374 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
410460,4 | Widgets: Use effect region bounds when drawing with repaint manager | dev | qt/qtbase | Status: MERGED | +2 | 0 |
411678,2 | Widgets: Use effect region bounds when drawing with repaint manager | 6.3 | qt/qtbase | Status: MERGED | +2 | 0 |
411683,2 | Widgets: Use effect region bounds when drawing with repaint manager | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
411684,2 | Widgets: Use effect region bounds when drawing with repaint manager | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |