This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 43185 - No focus indication in explorer
Summary: No focus indication in explorer
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: A11Y, REGRESSION
Depends on:
Blocks:
 
Reported: 2004-05-13 08:21 UTC by jrojcek
Modified: 2008-12-22 18:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jrojcek 2004-05-13 08:21:49 UTC
This is on Metal L&F (not sure about the other L&Fs):

The blue rectangle is not drawn around selected node in 
explorer. This makes it impossible to make multiple selection 
with keyboard, because one can't see what node the focus is on. 
Please note that indication of selected node (blue background) is 
not the same as indication of focused node (blue rectangle).
Comment 1 Petr Nejedly 2004-06-01 09:53:37 UTC
I can reproduce the problem you see, but I'm not sure about the
implications. I've found that I can select a node and then move the
focus caret to another node using Ctrl+arrows, but I don't know how
can I make discontinuous selection using keyboard (that is, select
also the node my (invisible) focus is currently on).
Comment 2 jrojcek 2004-06-01 12:30:43 UTC
Hold the Ctrl key and move "currently invisible focus indication" with the arrow keys. Use 
the Space key to change the selection.

My question is why somebody changed it to the current state?
Comment 3 Petr Nejedly 2004-06-04 11:13:04 UTC
Uh, for me, space starts fast-find in explorer instead of selecting
the node.
Anyway, the focus should probably be visible and fast-find should
not start on space.

> My question is why somebody changed it to the current state?
Don't know, will investigate...
Comment 4 jrojcek 2004-06-04 12:46:16 UTC
You should still be holding the Ctrl key down when you use the arrow keys and press the 
Space key. If it is not working, it is a bug.
Comment 5 Petr Nejedly 2004-06-04 13:06:32 UTC
Thanks for explanation, that works.


Actually, it seems it is a regression caused by Tim's integration of
the HtmlRenderer code.

I've tracked the problem to the HtmlLabelUI.
I'll fix it myself once I'm that far with evaluation...
Comment 6 Petr Nejedly 2004-06-04 13:19:42 UTC
Fixed in
openide/src/org/openide/awt/HtmlLabelUI.java,v1.5
Comment 7 Tomas Danek 2005-07-15 09:13:15 UTC
works in 4.1 final, verifying.