Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.6.0 Alpha
-
None
-
920472c85f6a5cd96344c28dbba0f199c34c6c10
Description
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.
Attachments
Issue Links
- resulted from
-
QTBUG-45860 QOpenGLWidget and QQuickWidget fail to apply clipping
- Closed
For Gerrit Dashboard: QTBUG-50719 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
147590,3 | Fix clipRect interpretation in composited backingstores | 5.6.0 | qt/qtbase | Status: MERGED | -2 | 0 |