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.
[#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!
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
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.
Target milestone -> 3.4
see my previous comments on why we won't fix this problem
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.
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 ?
It seem fix for #17794 also solves this issue.
It seems not to be fixed in build 200201180727(RC2) on W2K; last jdk14. Reopening this issue.
Accepted, on Win it is still there, needs to be invetigated.
Now it seems to be working, the focus after cancelling the modal dialog is back in wizard. Reopen if it occures again.
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
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.
I agree, marking as Verified.
Resolved for 3.4.x or earlier, no new info since then -> closing.