Replace ActionSelectionPopover with an ActionItem selection popover

Bug #1212334 reported by Tim Peeters
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Won't Fix
Undecided
Unassigned

Bug Description

ActionSelectionPopover uses delegates to represent actions passed to the component, just like the old Toolbar did. This creates problems in customizing its contents, and in accessing the objects in autopilot tests.

I propose we create a new popover that makes use of ActionItems (for example ListItem.Standard, which can use an Action as input) instead of the Action directly. This way, the developer can control the representation of the action easily and the objects can be given an objectName to access them directly from autopilot tests.

Note that the solution will be similar to current Dialogs. Check the designs of the apps first to make sure a Dialog is not the desired component to use.

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

I'll just add comments hear about apps that use this and how they use it.

Terminal. Button on toolbar launches popover to select several different options. They display/hide UI elements

File Manager. Uses it when long pressing on a file or folder for an "action" menu of things to perform on your selected object

RSS Reader. Button on toolbar. Actions listed upon pressing button. Lets you launch to several different pages

Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
status: New → Won't Fix
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.