Hi all,
I have a problem with ListView with a custom c++ model created following qt guide (i.e. extending QAbstractListModel).
In my application I have a ListView that can show only 10 rows, while in my model I load 17 items.

The problem is that when I start toying around with the list (flicking, clicking on elements, moving highlight with my personal focus management), at a certain point, the ListView stops to work!
Flicking is blocked or, when it is enabled, the elements that should appear are not visible.. or again currentItem still blocked in wrong item like this (http://tinypic.com/view.php?pic=5d3p05&s=5).

I found a sort of similar problem at this link: http://stackoverflow.com/questions/1...ws-are-visible but the answer does not help me.

Notes:
1) ListView is a my custom ListView that has some extension to manage focus changing; I tried with a standard ListView but the problem still remains.
2) With static ListModel added in qml file everything works fine, so the problem seems to be my QAbstractListModel implementation.
3) In my focus management I print some debug strings and I noticed that, when the problem occurs, ListView.view.count becomes always 0.


Can anyone help me?
Thanks in advance.