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 133313 - Projects window loses focus after using Add Library...
Summary: Projects window loses focus after using Add Library...
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
: 133359 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-20 16:03 UTC by polanma1
Modified: 2008-12-22 14:41 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Losing focus when using Add Library... (before and after image) (107.16 KB, image/png)
2008-04-20 16:10 UTC, polanma1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description polanma1 2008-04-20 16:03:31 UTC
After selecting Libraries folder and choosing 'Add Library...' from submenu, when the dialog is closed (either by 
cancelling or accepting), the Projects window loses focus. 

Tab and CTRL+1 doesn't work after that. Switching to another window or using Alt works.

Neither 'Add Project...' or 'Add JAR/Folder...' have this issue.
Comment 1 polanma1 2008-04-20 16:10:59 UTC
Created attachment 60466 [details]
Losing focus when using Add Library... (before and after image)
Comment 2 Jaromir Uhrik 2008-04-29 16:19:43 UTC
It seems that the Add Library dialog should release focus back to projects view after the Add Library dialog closes - I am passing this issue to projects|ui.
Comment 3 Milan Kubec 2008-06-23 15:41:03 UTC
Milosi, it seems that LibraryChooserGUI was either introduced with shared libraries or was completely rewritten by adding shared libraries. Please evaluate. 
Thanks
Comment 4 Milan Kubec 2008-06-24 10:27:47 UTC
*** Issue 133359 has been marked as a duplicate of this issue. ***
Comment 5 Milos Kleint 2008-07-07 12:15:38 UTC
org.netbeans.api.project.libraries.LibraryChooserGUI is using regular DialogDisplayer code to show the dialog. We are
not and should not be tweaking the focus of the main app. Reassigning to openide/dialogs, but I suppose it's some sort
of issue between the linux window system and java.
Comment 6 polan 2008-07-07 13:17:11 UTC
I really don't think we can blame linux window system this time... (see the image, it's Win Vista :)
Comment 7 Lukas Hasik 2008-09-09 14:34:34 UTC
works for me on windows XP with latest builds. Please, reopen if it is still reproducible. Thank you