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 43915 - a11y: focus has been lost after pushing Enter key
Summary: a11y: focus has been lost after pushing Enter key
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: -S1S-
Hardware: Sun SunOS
: P3 blocker (vote)
Assignee: Ondrej Rypacek
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2004-05-27 11:33 UTC by bnv
Modified: 2005-02-07 15:43 UTC (History)
8 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 bnv 2004-05-27 11:33:39 UTC
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
Comment 1 Ondrej Rypacek 2004-06-01 14:56:53 UTC
reproduced.
Comment 2 Ondrej Rypacek 2004-06-01 15:06:35 UTC
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.
Comment 3 Ondrej Rypacek 2004-06-07 17:01:10 UTC
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.
Comment 4 Jiri Rechtacek 2004-07-29 14:12:06 UTC
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.
Comment 5 Ondrej Rypacek 2004-08-16 15:22:56 UTC
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.
Comment 6 Jiri Rechtacek 2004-12-21 16:20:11 UTC
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 :-)
Comment 7 Ondrej Rypacek 2005-02-07 15:43:41 UTC
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