← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1259290] Re: Popover does not autohide automatically when using a delegate

 

** No longer affects: ubuntu-ui-toolkit

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

Title:
  Popover does not autohide automatically when using a delegate

Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Triaged

Bug description:
  In the Ubuntu SDK Gallery, the toolbar popover uses ActionList {} to
  define the actions to be displayed in the popup. This autohides on
  clicking an action as expected. However when you add iconSource to
  every action in the ActionList and the use a ListItem.Standard
  delegate to modify the action appearance in the popover, clicking on
  an action no longer hides it automatically.

  This modification (using a delegate) is supported as it is available
  as an example in the ActionSelectionPopover SDK documentation.

  Steps to reproduce:
  1. Open Qtcreator
  2. Press Shift+Ctrl+S to open the SDK Gallery files as a project.
  3. Replace the Popover.qml file contents with http://paste.ubuntu.com/6547474/
  4. Run the Gallery, and press on an action in the toolbar popover at the bottom

  What happens
  It outputs "Action #num" to the console and the popover is still visible

  What should happen
  It ouputs "Action #num" to the console and hides the popover

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