Popups should emit a closed() signal when closed
Bug #1324798 reported by
Alberto Mardegan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Confirmed
|
Wishlist
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Currently, Popups run an animation when closed. If the caller destroyes the popup (or the UI which invokes it) immediately after calling PopupUtils.close(), the QML engine runs into an error because the animation is still running. See bug 1315341 for an example.
The Popup should emit a closed() signal when all of its animations have completed and it's safe to destroy it. We are currently working around this by listening to a change on the "visible" property, which in the current Popup implementation is set to "false" at the end of the closing animation; but this is fragile because it depends on an undocumented implementation detail.
Changed in ubuntu-ui-toolkit: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
To post a comment you must log in.