Priority: P1: Critical
Affects Version/s: 5.5.0 Beta, 5.5.0, 5.5.1, 5.6.0 RC, 5.6.0, 5.7.0, 5.8.0, 5.9.3, 5.10.0
Fix Version/s: 5.9.4
Component/s: Quick: Core Declarative QML
I created a simple example that uses a TreeModel and a TreeView.
The item delegate of the TreeView is expanded automatically in the Component.onCompleted signal handler.
The model is based on the example at http://doc.qt.io/qt-5/qtwidgets-itemviews-simpletreemodel-example.html. The only modifications to the model are in the setup function and in the columnCount function.
The issue is the visualization of weird spaces between the items of the treeview.
See the attached screenshot and sample project for reproducing the bug
However, this has actually nothing to do with TreeView or AbstractItemModel. A plain ListView with a QML ListModel does the same thing:
Mind that the ListModel example is less deterministic, though. Sometimes the gap appears after "b", sometimes after "c" and sometimes not at all.