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 19103 - [core] Focus assigned to bad component
Summary: [core] Focus assigned to bad component
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords: A11Y
Depends on: 17794
Blocks:
  Show dependency tree
 
Reported: 2002-01-07 14:47 UTC by Jaromir Uhrik
Modified: 2008-12-22 17:53 UTC (History)
2 users (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 Jaromir Uhrik 2002-01-07 14:47:26 UTC
[#200201070331; last jdk1.4 beta]
1.Run UC wizard
2.Click Proxy Configuration
3.Press e.g. Cancel button
4.The focus will now be on main window, but the user wants to continue with the 
UC wizard.
Note: The same situation is for other dialogs invocated from the UC wizard!
Comment 1 akemr 2002-01-08 08:21:42 UTC
General issue:
1. Non - modal wizard (WizardDescriptor)
2. Open modal dialog from it
3. Close this modal dialog
4. Wizard loses focus!

Reassigned after consultation with Jano Rojcek
Comment 2 _ ttran 2002-01-08 09:27:11 UTC
I don't believe this issue can be solved in a good way.  When one
dialog is closed, in general it's up to the OS to choose the next
window to set the keyboard focus to.
Comment 3 Jan Chalupa 2002-01-11 14:03:21 UTC
Target milestone -> 3.4
Comment 4 Jan Chalupa 2002-01-11 14:07:27 UTC
Target milestone -> 3.4
Comment 5 Jan Chalupa 2002-01-11 14:08:34 UTC
Target milestone -> 3.4
Comment 6 Jan Chalupa 2002-01-11 14:11:24 UTC
Target milestone -> 3.4
Comment 7 _ ttran 2002-01-16 12:51:04 UTC
see my previous comments on why we won't fix this problem
Comment 8 jrojcek 2002-01-16 13:30:50 UTC
We should examine NbTopManager.notify() method which tries to control
focus after closing modal dialog. It doesn't work well on JDK1.4 and
perhaps is the bug cause.
Comment 9 Marian Mirilovic 2002-01-16 13:41:33 UTC
Trung, Jano, this is known issue on [jdk1.4], see

http://dtsw.eng.sun.com/cgi-bin/bugtraq_showbug?bugid=4531076

Jano, can you fix this one ?
Comment 10 Peter Zavadsky 2002-01-17 13:34:36 UTC
It seem fix for #17794 also solves this issue.
Comment 11 Jaromir Uhrik 2002-01-18 13:12:15 UTC
It seems not to be fixed in build 200201180727(RC2) on W2K; last 
jdk14. Reopening this issue.
Comment 12 Peter Zavadsky 2002-01-23 09:28:27 UTC
Accepted, on Win it is still there, needs to be invetigated.
Comment 13 Peter Zavadsky 2002-04-26 10:52:52 UTC
Now it seems to be working, the focus after cancelling the modal
dialog is back in wizard.
Reopen if it occures again.
Comment 14 Jaromir Uhrik 2002-04-26 12:33:00 UTC
I have to reopen this issue again, because the problem 
persists - I tried these steps in the latest build
[200204260820, win2K, jdk14]:
1.Open Update Center Wizard
2.Press Proxy Configuration button
3.Press Cancel
4.The Main window has the focus but it should be on the UC 
wizard
Comment 15 _ ttran 2002-06-13 22:26:16 UTC
Really nothing we can do to fix it.  The problem is most visible in
SDI mode.  The UC wizard is displayed as non-modal dialog which has
the main window as its parent.  Now a modal dialog is displayed from
it.  The modal dialog disappears, the OS chooses something else to set
the focus on and unfortunately it's not the UC wizard.


If the UC wizard was a modal dialog then yes, something can be done,
but it's not.

This behavior is somewhat similar to the Find dialog called from the
editor (Ctrl+).  Pressing Esc to dismiss the dialog does not give the
focus back to the editor.

In this respect MDI works much better than SDI.
Comment 16 Jaromir Uhrik 2002-10-14 13:41:07 UTC
I agree, marking as Verified.
Comment 17 Quality Engineering 2003-07-01 16:51:58 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.