-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.13.0
-
None
When pushing or popping an element to a StackView, Android's TalkBack doesn't update the focus to the new element.
Here's the StackView example with Accessible properties added:
StackView {
id: stack
initialItem: mainView
anchors.fill: parent
}
Component {
id: mainView
Row {
spacing: 10
Button {
Accessible.name: text
text: "Push"
onClicked: stack.push(mainView)
}
Button {
Accessible.name: text
text: "Pop"
enabled: stack.depth > 1
onClicked: stack.pop()
}
Text {
Accessible.name: text
text: stack.depth
}
}
}
Selecting "Push" will push a new view, but the voice assistant doesn't read back anything and the focus is still on the "old" push button from the previous view.