Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
5.4.2
-
None
-
b31bfde4b (dev), 61247583d (6.7), 59a3bfa1c (tqtc/lts-6.5)
Description
See attachment for an example.
When model is reset with less number of items (hit left arrow key) there's no items on path as a result and the console output is as follows:
DelegateModel::item: index out range -1 3 qml: count: 3 DelegateModel::item: index out range -1 3
This happens when currentIndex is initially set to some non-zero value.
Attachments
For Gerrit Dashboard: QTBUG-46487 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
554298,5 | Make sure PathView index isn't negative when filling the model | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
554753,2 | Make sure PathView index isn't negative when filling the model | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
555290,3 | Make sure PathView index isn't negative when filling the model | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |