Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.1
-
None
Description
In QQuickWindowPrivate::deliverPressOrReleaseEvent a targetList of QQuickItems is calculated for delivering mouse events.
In my application the mouse release event for the first item in this list results in deleting the second item of this list. Then the application crashes when iterating fowards, trying to deliver to the already deleted item.
Using guarded pointers should avoid this problem.
( In my application I replaced delete by deleteLater )
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-73520 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
252201,1 | QQuickWindowPrivate::pointerTargets(): return QVector<QPointer> | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |