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 42359 - Focus/selection marker on Explorer trees lost
Summary: Focus/selection marker on Explorer trees lost
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ tboudreau
URL:
Keywords: REGRESSION, UI
Depends on:
Blocks:
 
Reported: 2004-04-22 20:50 UTC by Jesse Glick
Modified: 2008-12-22 22:43 UTC (History)
0 users

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 Jesse Glick 2004-04-22 20:50:55 UTC
After your recent GTK+ etc. merge, the Explorer
(e.g. Projects tab) under Metal L&F shows a blue
highlight for selected nodes when the tree has
focus, and grey when it does not. But there is no
longer the darker blue border around the active
node. (Usually, just the selected node if there is
one, but can be different in case you have
multiselections etc.)
Comment 1 _ tboudreau 2004-05-06 12:53:25 UTC
Fixed with the html renderer merge.
Comment 2 Jesse Glick 2004-05-06 14:49:21 UTC
Uh, no it wasn't. I'm running yesterday's dev build right now, with
HTML labels, and it definitely does not have the selection border. JDK
1.5 b48 on Linux, Metal/Ocean L&F.
Comment 3 _ tboudreau 2004-05-06 15:37:41 UTC
Ah, it works on aqua, but not on metal.  Depends on the return value of 
UIManager.getColor("focus"), which must either be returning white or the same blue as the 
selection on metal.  Not quite sure what to use instead that will work everywhere.
Comment 4 _ tboudreau 2004-07-22 00:09:54 UTC
Fixed.  

Checking in HtmlLabelUI.java;
/cvs/openide/src/org/openide/awt/HtmlLabelUI.java,v  <--  HtmlLabelUI.java
new revision: 1.7; previous revision: 1.6
done
Comment 5 Tomas Danek 2005-07-14 18:35:14 UTC
i think its now ok, in 4.2 i did not notice this. Verified.