Keyboard Shortcut doesn't work when the action is in the overflow button
Bug #1600177 reported by
Kugi Eusebio
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
Undecided
|
Zoltan Balogh | ||
ubuntu-ui-toolkit (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
EXPECTED RESULT:
Performing the keyboard shortcut should trigger the action.
ACTUAL RESULT:
Performing the keyboard shortcut does nothing and no indication of an error in the log
STEPS TO REPRODUCE:
1. Add actions in the trailingActionBar of a page header.
2. Add keyboard shortcut to these actions i.e. "Ctrl+F"
3. Set the numberOfSlots property to 1 so that all actions are in the overflow button.
4. Try to perform the keyboard shortcuts
Framework Version: ubuntu-sdk-15.04.5
Device: Nexus 7 (rc-proposed) and bq E5 HD (OTA 11)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Zsombor Egri (zsombi) |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Zoltan Balogh (bzoltan) |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | Tim Peeters (tpeeters) → nobody |
To post a comment you must log in.
Question: does the action, which is not in the overflow, get triggered by the shortcut assigned to it? I suspect it does.
The thing is, once the action goes into the overflow, it will be deactivated as long as the overflow is shown. This is due to ActionSelection Popover being used by the overflow, which has its own ActionContext (PopupContext), which is inactive as long as it is not getting visible.