Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.0, 6.3.2
-
d9f9d773e92940786f159897623618f3bf6bcf0f (qt/qtdeclarative/dev) 27b0d193f6c9e320638cd0c19414a78c9caeee72 (qt/qtdeclarative/6.2) 4cf8b6732a627cc73d22c95bd080dba447afb2e3 (qt/tqtc-qtdeclarative/5.15), 9124fcecb (dev), 058787ce5 (6.5), 59b4159eb (6.4)
Description
Please refer to the attached sample that demonstrates that the "ListView.isCurrentItem" attached property is not available in a delegate of a DelegateModel until user presses a key to refresh the model.
Setting model in component.onComplete of ListView solves this issue, but Binding of model with listview is broken and it won't work with a model coming from a property.
Attachments
Issue Links
- relates to
-
QTBUG-88065 ListView: currentItem stays null if model gets update during delegate creation
- Reported
-
QTBUG-39146 Setting ListView currentIndex doesn't set initial item correctly in certain circumstances
- Closed
- resulted in
-
QTBUG-97423 heap-use-after-free in SwipeView::test_orientation
- Closed
-
QTBUG-98315 Odd issues with ListView scrolling
- Closed
-
QTBUG-98529 REG: QQuickDialogButtonBox: Crash when modifying standardButtons more than once
- Closed