Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.8
-
None
-
Fedora 40, KDE Plasma
-
a9af10e1e (dev), 2ea3abed0 (6.8), 8d811bb88 (6.7), 4bd303b2a (tqtc/lts-6.5), 4bb16ce2c (dev), 281f620ce (dev), 3330731d0 (6.8), 2aefbca84 (6.8), 21f282bd4 (tqtc/lts-6.5), ac055453c (tqtc/lts-6.5)
Description
Consider the following code: https://invent.kde.org/nicolasfella/modeltest
It has a model with 10 rows that feeds a ListView. The ListView instantiates 20 delegates, i.e. twice as many as expected.
There's 10 "qrc:/qt/qml/modeltest/Main.qml:21:13: Unable to assign [undefined] to QString" warnings printed.
The count property of the ListView is 20.
Tested with current 6.8 branch (qtbase 93e39f7b79a71233d356108142aa446f29a60c76, qtdeclarative 322312222a67b45cae6201ff928eb34caf623c8f).
This seems to be caused by https://codereview.qt-project.org/c/qt/qtdeclarative/+/571132