I have a customised QStandardItemModel which I access in a QML ListView. My ListView is exhibiting this pathology: if I scroll the items up (by touch, on an Android device) such that the top items move up past the visible area, then when they slide back down into the visible area, the items come back appearing blank. But they are still there, since they are restored if I switch to a different page and back. cacheBuffer does not seem to make any difference.
I imagine something is wrong my with delegate, but I can’t see what. The problem is likely in my code somewhere, since if I try to reproduce with a simplified example then the ListView does work fine. That unhelpfully means I can’t really provide sample code to show the problem.
Does anyone have experience with this kind of problem?
↧