The source project of this merge request has been removed.
Draft: effects/overview: Add keyboard navigation support to DesktopBar
-
Left
: Shift focus to the left desktop. If the focus is on the 1st desktop, shift focus to the new desktop button. -
Right
: Shift focus to the right desktop. If the focus is on the new desktop button, shift focus to the 1st desktop. -
Home
: Shift focus to the 1st desktop. -
End
: Shift focus to the new desktop button. -
Return/Enter/Space
:- If the focus is on the new desktop button: Trigger the action.
- If the focus is on the desktop:
Return/Enter
activates the desktop, andSpace
enters the edit mode.
-
Delete
: Remove the desktop that has focus. -
Tab
: When in editing mode, pressing Tab will switch focus to the next text field.
Edited by Fushan Wen