Community
Participate
Working Groups
This is specific to the GTK2.x implementation of SWT, but may occur elsewhere. After certain events (e.g., adding a key binding, removing a key binding, etc.) on the KeyPreferencesDialog, focus is lost completely (i.e., tab does nothing). To restore focus, a mouse click must occur on some focusable widget to restore the focus. This is a problem for accessibility. Not sure if it is a design flaw in the KeyPreferencesDialog, or in GTK-SWT. This problem does not occur on Windows XP. As a side note, I've noticed that focus is erratic in GTK. Sometimes focus seems to disappear completely and can't be restored without re-opening the dialog. STEPS TO REPRODUCE: 1.) Open KeyPreferencesDialog. (Window>Prefereces, Workbench>Keys) 2.) Select any command/action from the tree on the left. For example, Help>About. 3.) Press tab until you are focused on the Key Sequence combo box. 4.) Type in "Ctrl+I". 5.) Tab to the "Add" button. 6.) Press the space bar to activate the "Add" button. 7.) Press the Tab key repeatedly. EXPECTED RESULTS: Focus should appear somewhere on the dialog. ACTUAL RESULTS: Focus is lost. Using ALT+TAB to remove and restore focus to the dialog does not have an effect on the focus. Mouse-clicking on the Key Sequence combo box (for example) restores focus. OTHER NOTES: Some other traversal keys are effected (e.g., ESC), but not others (e.g., RETURN/ENTER).
This no longer happens for me. Please reopen if you can reproduce it.