Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.15, 6.2.4, 6.3, 6.4
-
None
-
debian/deepin
Description
In practical application, I encountered such a problem: there is a button in my main window, the button press will call Loader to load a qml file with Window as the root element, and it is successfully loaded for the first time. Then click the title bar close button on the loaded Window to close the displayed Window subpage. At this time, the button of the main window is pressed again, and the Loader does not load the Window as expected.
The attachment is the demo I wrote, which can reproduce the phenomenon.
Attachments
Issue Links
- relates to
-
QTBUG-34433 Instantiator in QtQuick Controls gives error when onObjectRemoved is called.
- Open
-
QTBUG-20626 [Regression] destroy() doesn't work on objects created dynamically in QML/JS.
- Closed
-
QTBUG-35426 Clarify documentation for QML object ownership
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-106011 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
429230,10 | QQuickLoader: Allow reloading of currently closed Window | dev | qt/qtdeclarative | Status: NEW | -1 | 0 |