Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.3, 5.10.0, 5.9.4, 5.12.0 RC
-
Windows 10
-
69c7e95da101d4d66d25c4850f3591d4ccd2bbc1 (qt/qtquickcontrols/5.12)
Description
Steps to reproduce:
-------------------
- Run the sample attached
- see image 'treeview_bug.png' for additional information
Phase 1:
- Open 'item 0' branch to reveal 'subitem 0'
- Click button 'insert'
EXPECTED: the inserted item appears between 'item 0' and 'item 1'
ACTUAL: the inserted item appears on the last row
Phase 2:
- Make a selection from 'item 0' to 'item 1' using mouse and SHIFT
RESULT: the inserted item gets selected too -> something wrong with the layout
For comparison, test without revealing the subitem.
Attachments
Issue Links
- is duplicated by
-
QTBUG-70351 QML TreeView beginInsertRows broken when expanded
- Closed
- relates to
-
QTBUG-54156 Invalid QQuickTreeModelAdaptor behavior.
- Open