← Back to team overview

touch-packages team mailing list archive

[Bug 1324798] Re: Popups should emit a closed() signal when closed

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1324798

Title:
  Popups should emit a closed() signal when closed

Status in Ubuntu UI Toolkit:
  Confirmed
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Confirmed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1324798/+subscriptions