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 26063

Summary: Editor should attempt to focus the last activated editor window after Alt+Shift+I
Product: editor Reporter: Miloslav Metelka <mmetelka>
Component: -- Other --Assignee: issues@editor <issues>
Status: VERIFIED FIXED    
Severity: blocker CC: jglick, mihmax, pfelenda
Priority: P3    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Miloslav Metelka 2002-07-26 16:54:36 UTC
The focus just stays on the main window because
it's parent of the FastImport dialog. The Find
dialog for example uses Utilities.returnFocus() to
attempt to return the focus.
Comment 1 Martin Roskanin 2002-07-31 08:52:56 UTC
fixed in [maintrunk]

I have found and fix the same problem in FastOpen feature ...

/cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaFastImport.java,v
 <--  JavaFastImport.java
new revision: 1.9; previous revision: 1.8

/cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaFastOpen.java,v 
<--  JavaFastOpen.java
new revision: 1.14; previous revision: 1.13
Comment 2 Martin Roskanin 2002-08-16 12:10:12 UTC
*** Issue 26541 has been marked as a duplicate of this issue. ***
Comment 3 Jesse Glick 2002-11-29 14:12:32 UTC
Note that there are still focus problems with editor dialogs, I think
- e.g. after Alt-Sh-O, you sometimes get focus on a scrollbar (1.4)
rather than pane. Seems semi-predictable. I can file more bugs if you
want.
Comment 4 Martin Roskanin 2002-11-29 14:51:06 UTC
The focus problem is more general. Please look at (reopen) the issue #
25337
Comment 5 Jaroslav Tulach 2002-12-03 09:54:06 UTC
Hi. This issue is marked as 3.4.1_CANDIDATE. It means that it should be
integrated into release341 one branch. The plan at
http://www.netbeans.org/devhome/docs/releases/34/index.html expected beta1 to be
produced on Dec01. That did not happen due to a lot of outstanding not
integrated candidates like this one. 

Would it be possible to spend few minutes by backporting this fix? Thank you in
advance.
Comment 6 Martin Roskanin 2002-12-03 13:46:15 UTC
integrated into [release341]

/cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaFastImport.java,v
 <--  JavaFastImport.java
new revision: 1.7.24.1; previous revision: 1.7

/cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaFastOpen.java,v 
<--  JavaFastOpen.java
new revision: 1.13.20.1; previous revision: 1.13
Comment 7 ehucka 2003-08-11 14:41:36 UTC
I reopened it. I could reproduce it (about 30%). 

NB dev build 200308110100, Linux RH 9 (GNome 2), JDK 1.4.1_03.
Comment 8 Miloslav Metelka 2004-01-20 14:06:37 UTC
Petre, could you please verify whether this still occurs with the new
windowing system? Thanks.
Comment 9 pfelenda 2004-01-20 15:03:17 UTC
I am not able to reproduce it on last dev 2004011900.
Comment 10 Miloslav Metelka 2004-01-20 16:29:35 UTC
So this became fixed by window system changes => closing as fixed into
3.6.
Comment 11 Jiri Prox 2006-04-07 09:06:46 UTC
Verified