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 65872

Summary: [50cat] Editor does not get focus after opening file from projects view
Product: platform Reporter: vanob <vanob>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED FIXED    
Severity: blocker CC: dsimonek, mmirilovic
Priority: P3 Keywords: A11Y, FOCUS, RANDOM
Version: 5.x   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description vanob 2005-10-04 15:47:17 UTC
[ BUILD # : 200509261930 ]
[ JDK VERSION : 1.5.0_05 ]

1. Start with empty usedir
2. Open some project
3. Press Ctrl+1
4. type some letters. A little edit box appears
and the class name is highlited as you type. when some class is selected press enter.
5. The class is opened in the editor but the focus
remains in the projects view.

This bug is not always reproducible. I think when the big class is opened the editor analyzes it and does not receive focus.
Comment 1 Marian Mirilovic 2005-10-04 16:30:41 UTC
I can reproduce this NB5.0(200510031800), JDK 6.0 (b54), Linux RH9/Gnome ...

It looks like the editor is active/selected but the focus is still in the tree,
you can move selection in the Projects view although the Projects view isn't
selected ... 
I have to say it's annoying and it would be nice to solve this for NB5.0 ...

There is something strange, after short investigation I can't reproduce it ;(
Comment 2 David Simonek 2005-10-27 13:08:06 UTC
Whoa, I can reproduce too on my Win XP. 100% reproductible for me if editor
which is opening after Enter key is the very first one, I mean that only Welcome
window is in editor area.
Comment 3 Marian Mirilovic 2006-01-03 10:54:10 UTC
Too late for NB5.0, please reevaluate.
Comment 4 David Simonek 2007-09-24 13:11:11 UTC
Passing to Standa...
Comment 5 Stanislav Aubrecht 2007-09-25 15:24:19 UTC
fixed

/cvs/openide/explorer/src/org/openide/explorer/view/TreeView.java,v  <--  TreeView.java
new revision: 1.26; previous revision: 1.25