Popover does not autohide automatically when using a delegate
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 ActionSelection
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://
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
Changed in ubuntu-ui-toolkit: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in ubuntu-ui-toolkit: | |
importance: | Critical → Medium |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
no longer affects: | ubuntu-ui-toolkit |