Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6.2, 6.7.0 Beta3
-
None
-
-
30ae9e99e (dev), 92446b9de (6.7), 4afb76ae0 (6.6)
Description
Overlay remains visible when a Popup is destroyed via Loader. Regression since Qt 6.6.2.
Sample code:
import QtQuick import QtQuick.Controls Window { width: 640 height: 480 visible: true Loader { id: loader active: false sourceComponent: Item { anchors.fill: parent Popup { modal: true visible: true Overlay.modal: Rectangle { color: 'grey' } } } } Component.onCompleted: { loader.active = true loader.active = false } }
Steps to reproduce:
1. Launch sample code
2. Observe window
Actual results: no popup, but overlay is still visible
Expected results: no popup, no overlay
Attachments
Issue Links
- resulted from
-
QTBUG-75483 QML Tooltip visibility is set to false but should not
- Closed