Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.8.0 Alpha
-
None
-
35d500526990fafe5b71d97b051a770a2a81e82a
Description
All listeners should get invoked, even if they remove themselves while iterating the listeners. An index-based loop would skip the next listener in the list, and an iterator-based or range for loop ends up with invalid iterators unless it makes a (cheap) copy before iterating the listeners.
The listeners were fixed in https://codereview.qt-project.org/#/c/159505/ but https://codereview.qt-project.org/#/c/155386/ reintroduced the issue for itemGeometryChanged().
Attachments
Issue Links
- replaces
-
QTBUG-53453 Regression: Pushing item with two drawers into StackView crashes in QQuickItemPrivate::itemChange()
- Closed
- resulted from
-
QTBUG-54727 Tumbler: destroyed item change listeners notified
- Closed
For Gerrit Dashboard: QTBUG-54732 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
165038,3 | Fix itemGeometryChanged() listeners | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |