Skip to content

Cleanup up all subsurface QQuickItems correctly

When showing a surface with a subsurface in a QML based compositor, the subsurface QQuickitems are now destroyed when when main surface QQuickItem is destroyed and not just when the surface is destroyed.

This prevents subsurface QQuickItems piling up when showing and hiding the client surfaces e.g. inside a StackView.

Fixes: QTBUG-94602 Pick-to: 5.12 Pick-to: 5.15 Pick-to: 6.1 Pick-to: 6.2 Change-Id: I006a6a763d4daf560ba2a7b6f83e1de3e3c48906 Reviewed-by: Paul Olav Tvete paul.tvete@qt.io (cherry picked from commit 5463a040)

Merge request reports