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 58166 - Focus lost on JDS in New Library dialog
Summary: Focus lost on JDS in New Library dialog
Status: CLOSED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-04-21 14:23 UTC by Roman Strobl
Modified: 2006-03-24 12:54 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 Roman Strobl 2005-04-21 14:23:05 UTC
[NetBeans 4.1 rc1; JDS R3; JDK 1.5.0_03]

When I try to add a New Library in Tools | Library Manager the focus gets lost.
So I cannot type in any letters into the New Library dialog. There is a
workaround - if I switch to other application and back to NetBeans the focus is
there. However users may not find this out - I've found it out by concidence.
Comment 1 Tomas Zezula 2005-04-22 08:23:36 UTC
Sorry, this is typeahead "feature" of JDS. I cannot do anything with this in
java code. Has to be fixed on JDS or JDK. 
Comment 2 zikmund 2005-04-22 08:32:45 UTC
Tomasi, do you have any information about this feature? How does it happen?
Comment 3 Tomas Zezula 2005-04-22 08:58:44 UTC
I don't know much. But the intention is that the typeahead should cache typed
characters before the dialog is opened and post them to the dialog when opened.
But if it does not get the focus event it does what Roman described.
Comment 4 Roman Strobl 2005-04-22 09:16:31 UTC
If this is a JDK bug, do you know where we could reproduce it? Swing demo, small
sample app, etc.? So that I can file a bug into bugster.

Btw, in editor we were also solving the type-ahead typing in some of the
dialogs. Can you check with Mila? I have no problems in editor under JDS. There
may be some other implementation which works with JDS.
Comment 5 Roman Strobl 2005-04-22 09:27:54 UTC
Reopening issue till we are sure that we cannot fix it.
Comment 6 Tomas Zezula 2005-04-22 09:29:43 UTC
See above.
Comment 7 Roman Strobl 2005-04-22 09:46:43 UTC
Sorry to keep bothering, but what do you mean by "see above"? If it's a JDK bug
we should file it. And if there is a workaround, we could try it. 

Why RANDOM? I could reproduce it on my desktop every time. 

Note that JDS on Linux is improved SuSE, so it will most probably happen to some
part of Linux users as well. 

Thanks!
Comment 8 Roman Strobl 2005-04-25 12:56:09 UTC
I agree with RANDOM kw now, because today it happens occasionaly - probably
depends on the weather. Jarda filed a JDK bug for this so I will try to find it
and add it to this issue. This JDK bug influences many dialogs in the IDE (e.g.
in debugger New watch, Find dialog and others). 
Comment 9 Tomas Zezula 2005-04-25 13:49:45 UTC
Thanks
Comment 10 Roman Strobl 2005-04-25 13:57:20 UTC
I've found the JDK bug: 

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6183877 

I've added my comments and tried to push it forward a bit.
Comment 11 Roman Strobl 2005-07-08 09:59:21 UTC
Verified.