Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.0.0
-
None
-
Windows 7
-
20204fe58b77d7f62d3dac4e574bdef528199518
Description
When an item lost the focus to another ther is a segfault.
Here is a simple that make the application crash.
import QtQuick 2.0
Rectangle {
width: 100
height: 100
Column{
spacing:15
Rectangle{
id:input
color:"green"
onFocusChanged:
width:20
height:20
MouseArea{
anchors.fill : parent
onClicked:
}
}
Rectangle{
id:input2
color:"green"
width:20
height:20
onFocusChanged:{ console.log("here1") color=focus?"red":"green" }
MouseArea{
anchors.fill : parent
onClicked:{ parent.focus = true }
}
}
}
}
When I click on the first square it turn to red. But next when I click on the second rectangle a segfault occur.