MouseArea events on a Listview Component
-
@Yuri Which OS/Qt version combo are you using ?
-
@p3c0 Qt5 and Linux3.10.17
-
@Yuri Which Qt5 version and any specific Linux distro ?
-
@p3c0 Qt5.3.2 adn Linux is the BSP from Freescale. (The device is a freescale imx53 board)
-
@Yuri Hmm then I guess it must be related to touchscreen drivers or Qt configuration. May be you should ask on FreeScale community forum.
-
@p3c0 We thought that maybe just one of the problems. We just wanted to know if there was something wrong with the way the qml file was written.
-
@Yuri Who is the parent of
ListView
? I just test the code withItem
andWindow
as parents on Android phone and it works as expected. -
@p3c0 I have updated the OP to include everything on the file. The parent is a Window. Also we just found out that if you touch the first item(index:0), it seem to fire up click and release properly.
-
@Yuri That too works on Android. May be you should try with latest version viz.
Qt 5.4.1
-
@Yuri Also just to make sure can you try with
anchors.fill: parent
instead of those 4 anchors ?