| Summary: | the highlight row and focus row on different line | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | yanghang | ||||||
| Component: | SWT | Assignee: | Felipe Heidrich <eclipse.felipe> | ||||||
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | kleind, mpcarl, mukund, pwebster, Silenio_Quarti | ||||||
| Version: | 3.6.1 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
yanghang
Created attachment 187076 [details]
sample code
Created attachment 187077 [details]
screen shot
This defect is an accessibility compliance issue for our product. Is there any information regarding this behavior? Felipe, please investigate this problem. this is not a SWT Bug. By default a TableViewer calls table#select() to restore the selection. This call only sets the selection but does not set the focus item. Note that the selection and the focus item are not always the same item. You can change the focus item by holding the control key down and moving the focus using the up and down arrow key. All you have to do is, in the selection listerner for the columns, call viewer.refresh(true, true) instead of just viewer.refresh(). |