-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
-
Linux 32 bit, 10.04 Lucid Lynx
-
4a01dc326faa0bc7d61f67e8848e194c3c3b99c5
Hello,
I have encountered a strange behaviour of PathView elements: they don't handle keyboard navigation automatically. Consider the standard example pathview-example.qml: even if the focus property of the PathView is set to true, you can't browse the PathView using keys - only flicking with the mouse works.
It seems to me that this is inconsistent with other views like ListView, that automatically handle key navigation.
I can workaround this issue by defining these additional properties in the PathView:
Keys.onLeftPressed: view.decrementCurrentIndex()
Keys.onRightPressed: view.incrementCurrentIndex()
Is this intended behaviour? I'd say that the PathView should handle key navigation automatically just like ListView elements.
Thanks in advance!