| Summary: | Cannot move through Plug-in Code Generation page list with arrow keys | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Tod Creasey <Tod_Creasey> |
| Component: | SWT | Assignee: | Veronika Irvine <veronika_irvine> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | P2 | CC: | dejan, eclipse, James_Moody, Mike_Wilson |
| Version: | 2.0 | Keywords: | accessibility |
| Target Milestone: | 2.0 F3 | ||
| Hardware: | PC | ||
| OS: | Linux-Motif | ||
| Whiteboard: | |||
|
Description
Tod Creasey
This does not look like a PDE problem - arrow support is built-in SWT widgets. Moving to SWT - the wizard list in question uses a Table widget with one (hidden) column. Linux table accessibility issue. We are currently referring to this PR from our checklist of accessibility failures. Please consider as P1/F3. The problem is that focus is being grabbed by the scrollbar in cases where the description requires a scrollbar. I need to see how the GUI code for the "Plug-in Code Generators" page is written to debug further. Can anyone point me to this class? OK I found the class (ProjectCodeGeneratorsPage). The bug is caused by the line wizardList.setFocus() in ProjectCodeGeneratorsPage.setWizardListEnabled(). This is a scenario SWT is not handling correctly on motif. The fix might be quite complicated and impact many other things. Before we try to make this change, could you tell me if there is a reason why you need to set focus to the wizardList after enabling it? I guess we can comment the focus grab part out. From the keyboard access point of view, when you select the second radio button, the list will enable, but you would need to press 'Tab' to switch to it. You could also try wrapping the setFocus in an asynchExec - it is a timing problem on motif. In case you don't have access to a motif machine I will give it a try too. *** Bug 19333 has been marked as a duplicate of this bug. *** Hang on Dejan. I had some bogus code in my workspace and commenting out the setFocus doesn't actually fix the problem like I thought. Steve and I are still investigating. Sorry. *** Bug 12236 has been marked as a duplicate of this bug. *** Fixed!!!! The Header of the emulated Table was grabbing focus due to a bug in the setEnabled code. Fix is in the Composite.propogateWidget() method to check for the SWT.NO_FOCUS style and ensure that the XmNTraversalOn bit is set to 0 (i.e. disable native traversal). Reviewed by SN, VI and MW Verified on F3 |