QTBUG-45860 fixed the biggest issues with clipping render-to-texture widgets. However, one particular case remains broken: when a widget is completely clipped away, it will still show up if there happen to be neighbouring QOpenGL/QuickWidgets around the scroll area.
This is likely because of the incorrect interpretation of QWidgetPrivate::clipRect. Based on reading various QWidget code, it seems an empty rect indicates clip away completely, instead of no clipping. Currently the composition code in the backingstores interprets empty clipRects as no clipping needed.
Reproducible with a modified qopenglwidget example.
|For Gerrit Dashboard: QTBUG-50719|
|147590,3||Fix clipRect interpretation in composited backingstores||5.6.0||qt/qtbase||Status: MERGED||-2||0|