Bug 344443 - Can't see focus ring on selected item in Trees on Windows 7
Summary: Can't see focus ring on selected item in Trees on Windows 7
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2011-05-02 08:40 EDT by Markus Keller CLA
Modified: 2019-11-14 03:14 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2011-05-02 08:40:58 EDT
+++ This bug was initially created as a clone of Bug #327260 +++

I20110428-0848

I often can't see the focus ring in Trees on Windows 7.

On WinXP, I could usually (except for [1]) see which item had the keyboard focus (dotted focus ring). On Win7, I only see the focus item if the focus is on an unselected item. If the focus is on a selected item, it is not drawn.

I didn't find a native multi-selection tree in the OS, so I don't know what's
the native behavior. But I would expect it to be close to what I can see in
tables. On XP, multi-selection in trees was rendered like in tables. On Win 7,
I often see the XP-style tables.

But e.g. in the Windows Explorer in List and in Details mode, I see the new
style with a blue rounded rect for the focus item, a light blue background for
selected items, and a slightly darker blue background for a selected item with
focus. The focus color is hard to spot in a screenshot, but it's easy to see
when you move the focus with Ctrl+Up/Down.

There's another small difference between plain trees and owner-drawn trees:

In plain trees (e.g. Navigator), the item under the mouse gets the slightly darker blue background (same color as the hovered item or the focused selected item in Windows Explorer).

In owner-drawn trees that listen to SWT.EraseItem (e.g. Package Explorer), a selected item has no special color when it is under the mouse (darker blue background never shown).


[1] Tree with MULTI | FULL_SELECTION does not show focus ring: Bug 148364
Comment 1 Lars Vogel CLA 2019-11-14 03:14:05 EST
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.

If you have further information on the current state of the bug, please add it. 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.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.