| Summary: | Tree viewer doesn't have visible focus row on Windows OS | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] MAT | Reporter: | Andrew Johnson <andrew_johnson> | ||||||
| Component: | GUI | Assignee: | Andrew Johnson <andrew_johnson> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | minor | ||||||||
| Priority: | P3 | CC: | krum.tsvetkov | ||||||
| Version: | 1.1 | Keywords: | accessibility | ||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 358733 | ||||||||
| Bug Blocks: | 300655 | ||||||||
| Attachments: |
|
||||||||
|
Description
Andrew Johnson
Created attachment 196549 [details]
Tree without focus
The first row should have a dotted box around it to show it has focus.
Created attachment 196550 [details]
Expected focus box
The expected focus box would be like this grey box, but much thinner, dotted and in the foreground colour (black).
I have a fix - by adding a gc.drawFocus in a paint listener on the tree. This fix works for Windows XP, but I have a report that it doesn't make a difference for Windows 7. It is still worth doing for Windows XP. Fixed on Windows XP A fix for Windows 7 is to also draw the box on SWT.EraseItem Fix applied for Windows 7 - also applied unrelated fix to TreeAdapter.indexOf. |