Popover does not autohide automatically when using a delegate

Bug #1259290 reported by Nekhelesh Ramananthan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-ui-toolkit (Ubuntu)
Triaged
Medium
Unassigned

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

Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
status: New → Triaged
importance: Undecided → Critical
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
importance: Critical → Medium
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Zoltan Balogh (bzoltan)
no longer affects: ubuntu-ui-toolkit
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.