Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358733 - No focus box for multi-selection of TreeViewer
Summary: No focus box for multi-selection of TreeViewer
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on: 148364
Blocks: 347149
  Show dependency tree
 
Reported: 2011-09-23 10:52 EDT by Andrew Johnson CLA
Modified: 2020-08-05 14:53 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Johnson CLA 2011-09-23 10:52:48 EDT
This just occurs on Windows 7, not Windows XP.

The current row in a TreeViewer does not have a dotted outline.
This makes it hard to select multiple rows.

To reproduce 
- go to the Task List in Eclipse 3.7
- select a row using the mouse
- move the mouse pointer away to avoid the pop-up confusing things
- using control-down twice move to a new row
- note that there is no indication of which is the current row
- use control-space to select or deselect the current row, see that the
  selection is visible

The selection is visible, but not the current row. This means you can not
tell which row will be affected by control-space without doing it.

Note that this only happens on a TreeViewer with FULL_SELECTION and MULTI e.g.
Task List, Markers, but not on Project Explorer or Navigator.
Comment 1 Andrew Johnson CLA 2011-11-01 16:53:41 EDT
The problem also occurred with Memory Analyzer tree views. It seems that on Windows 7 the SWT.PaintItem event does not have SWT.FOCUSED for trees with FULL_SELECTION and MULTI, though the SWT.EraseItem event does have SWT.FOCUSED, so a work around is to draw the focus box in the erase event, though this only seems to draw in the first column.
Comment 2 Eclipse Genie CLA 2020-08-05 14:53:12 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.