Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.7.0
-
None
-
Windows 10 x64. Qt 5.7.0 VS 2015 32-bit
-
53c780f15c2d170514f74d949a8165033275bddd
Description
After displaying a ToolTip on an item in a view and removing that item from the view (and thereby removing the toolTip parent item), on displaying the ToolTip on another Item the application crashes.
As a workaround, before removing the Item from the model (by listening on the remove button for example) I hide the shared ToolTip item and set its parent Item to something that will always exist.
Attachments
For Gerrit Dashboard: QTBUG-55347 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
168392,3 | QQuickPopup: don't keep a reference to a destroyed parent | 5.7 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |
168396,4 | Fix attached ToolTip properties | 5.7 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |
168601,2 | Close parentless popups | 5.7 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |
168647,3 | QQuickToolTip: fix the creation context of the shared tooltip | 5.7 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |