Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.12.2
-
bc00353cffbfe0f74b602a16452f2e7bcd588152 (qt/qtdeclarative/5.12)
Description
Maybe this is totally a wrong thing to do but this code will crash DS when run in the live preview.
import QtQuick 2.12 import QtQuick.Studio.Components 1.0 import QtQuick.Controls 2.3 import QtQuick.Layouts 1.0 import QtQuick.Dialogs 1.3 Item { id: myItem property alias myColorDialogName: myItem.myColorDialogName property var colourDialogName: colorDialog1 ColorDialog { id: colorDialog title: "Please choose a color" onAccepted: { console.log("You chose: " + colorDialog.color) chosenColour.color = colorDialog.color } onRejected: { console.log("Canceled") } Component.onCompleted: { visible = true } } }
Crash log attached
Attachments
For Gerrit Dashboard: QTBUG-74867 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
258476,3 | Detect and reject cyclic aliases | 5.12 | qt/qtdeclarative | Status: MERGED | +2 | 0 |