Feature #2131
Keyboard navigation
Status:
Closed
Priority:
Urgent
Assignee:
Category:
Enhancement
Target version:
Start date:
2015-11-23
% Done:
100%
Description
One should be able to use the Doomsday UI with only the keyboard or a game controller.
Anticipated features:- flag for making widgets focusable
- visual focus indicator (appears when keyboard-navigating), cf. tutorial focus rectangle
- when using just the mouse, the focus indicator appears briefly but fades right away
- Tab / Shift-Tab to navigate focusable widgets as a cycle
- Esc to close all popups (including dialogs), remove focus from edit widgets
- Enter/Space to activate focused widget
- arrow keys to navigate by view position (cannot get out of dialogs, though)
Related issues
Associated revisions
Widgets: Setting input focus depending on the context
Added a method for offering focus to widgets. This is used for setting
the appropriate focus when a popup is opened (e.g., menu, dialog).
IssueID #2131
History
#1
     Updated by skyjake almost 10 years ago
    Updated by skyjake almost 10 years ago
    
    - Related to Bug #778: Gamepad usability issues added
#2
     Updated by skyjake almost 10 years ago
    Updated by skyjake almost 10 years ago
    
    - Related to Feature #4: UI improvements added
#3
     Updated by skyjake over 9 years ago
    Updated by skyjake over 9 years ago
    
    - % Done changed from 0 to 10
#4
     Updated by skyjake over 9 years ago
    Updated by skyjake over 9 years ago
    
    - Status changed from New to In Progress
#5
     Updated by skyjake over 9 years ago
    Updated by skyjake over 9 years ago
    
    - % Done changed from 10 to 20
#6
     Updated by skyjake over 9 years ago
    Updated by skyjake over 9 years ago
    
    - % Done changed from 20 to 30
Widgets can now be flagged focusable, there is a focus indicator, and menus support up/down navigation with arrow keys (including everything derived from MenuWidget).
#7
     Updated by skyjake over 9 years ago
    Updated by skyjake over 9 years ago
    
    - Priority changed from High to Urgent
#8
     Updated by skyjake over 9 years ago
    Updated by skyjake over 9 years ago
    
    - % Done changed from 30 to 40
Tab/Shift-Tab has been implemented. They rely on the widget tree structure to find the next/previous focusable widget. Also, Enter/Space can be used to press buttons.
#9
     Updated by skyjake over 9 years ago
    Updated by skyjake over 9 years ago
    
    - % Done changed from 40 to 50
#10
     Updated by skyjake about 9 years ago
    Updated by skyjake about 9 years ago
    
    - % Done changed from 50 to 70
#11
     Updated by skyjake about 9 years ago
    Updated by skyjake about 9 years ago
    
    - Description updated (diff)
#12
     Updated by skyjake about 9 years ago
    Updated by skyjake about 9 years ago
    
    - Description updated (diff)
- % Done changed from 70 to 80
#13
     Updated by skyjake almost 9 years ago
    Updated by skyjake almost 9 years ago
    
    - Precedes Feature #2184: Keyboard navigation: bindable controls added
#14
     Updated by skyjake almost 9 years ago
    Updated by skyjake almost 9 years ago
    
    - Description updated (diff)
- Status changed from In Progress to Resolved
- % Done changed from 80 to 100
#15
     Updated by skyjake almost 9 years ago
    Updated by skyjake almost 9 years ago
    
    - Status changed from Resolved to Closed
Widgets|libappfw: Basic focus switching with Tab/Shift-Tab; button activation
IssueID #2131