Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.5.3
-
None
Description
Similar to https://bugreports.qt.io/browse/QTBUG-50508
I have attached a reproducible example. I believe this happens on other platforms other than macOS as well. I noticed this when evaluating a major version upgrade for our application from qt 5 to 6.
I am placing a semi-transparent widget on top of an opaque qopenglwidget. When the openglwidget is visible, the transparency of the widget on top decreases. This does not occur in qt 5.15.15.
I also tried not using stylesheets and just QPainter in the attached example, but with no difference. The opacity of the QGraphicsOpacityEffect does not change when this (the darkening of the widget) occurs.