Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.15.2
-
None
-
Observed with Qt 5.15.2 on both Ubuntu 20.04 on x86 and ARM Yocto linux
Description
Initially observed with a modal Dialog created and displayed from within a ListView delegate instance that performed a model change (triggering destruction and recreation of delegate collection), but reproducable with the following simplified fragment.
Same code worked without problems on Qt 5.9
.... import QtQuick.Controls 2.15 .... Button { id: btnTestModalDialog text: "test" onClicked: { var dlg = compModalDialog.createObject(root); dlg.open(); } Component { id: compModalDialog Dialog { title: "delete self" modal: true standardButtons: Dialog.Ok | Dialog.Cancel onAccepted: { destroy(); } } } }