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.
Product Version = Sun Java Studio Enterprise 6 2004Q1 (Build 040318_1) IDE Versioning = I DE/1 spec=3.42.3 impl=040318_1 Operating System = SunOS version 5.8 running on sparc To reproduce the bug: 1.push the Tools/Internationalization/Internationalization Wizard menu item 2.wait for the 'Internationalization Wizard' dialog 3.select any row in the table 4.push the 'Enter' key to activate the 'Next' button 5.wait for the 'Select Resource for Sources' pane ISSUE:Cannot use any mnemonics on the 'Select Resource for Sources' pane. 6.push Back button with Alt-B key "Build" menu is expanded in the Main Window instead of going back
reproduced.
The focus is lost only if it is in the listBox on the previous pane when the enter is pressed. If I change focus to one of the buttons and then press enter, everything works fine.
I've searched carefully through the source, but found nothing that could be related to the problem. I suspect it's a generic wizards problem. Thus,reassigning to wizards in openide.
The I18N wizard should own recover the focus when a dialog is invoked&closed from (as Autoupdate wizard does e.g.) Which way to create and show this dialog is used? Hint to suspected code? I recommend to fix on side of I18N wizard.
There's no dialog being opened/closed in the wizard. It's just enter pressed, which causes the next panel to be shown. The switching of panels is however completely handled by the infrastructure, not in i18n's code. Thus I believe this is a problem of the infra. Let's discuss it offline.
I think the listBox in wizard should change the its focus root or traversal policy to allow user to go out of box by keyboard. Ondro, stop by me to discuss offline :-)
We found out that standard WizardDescriptor that performs focus passing correctly is extended and patially reimplemented in i18n in order to enable implementation of the progress bar within the wizard (although maybe questionable, but it's the current state). I didn't know about that. This local version didn't pass the focus correctly. Fixed. Checked in: http://i18n.netbeans.org/source/browse/i18n/src/org/netbeans/modules/i18n/wizard/I18nWizardDescriptor.java.diff?r1=1.13&r2=1.14