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 44717 - Enter key should work at any time in New File template selection panel if a template is selected
Summary: Enter key should work at any time in New File template selection panel if a t...
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: A11Y
Depends on:
Blocks: 41535
  Show dependency tree
 
Reported: 2004-06-10 21:15 UTC by Jesse Glick
Modified: 2006-03-24 10:10 UTC (History)
0 users

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 Jesse Glick 2004-06-10 21:15:45 UTC
040610 but also much earlier. JDK 1.5.0 b54, GTK.

If you have selected a template in the first panel
of the New File wizard, the Enter key should
invoke Next. That is the default behavior of
wizards unless something else is capturing the
keystroke.

However currently you need to press Tab twice:

1. With the focus on the template, Enter does
nothing. Press Tab to send focus to the
description area (which I think needs to focusable
for A11Y reasons).

2. With the focus on the description area, Enter
does nothing. Press Tab to send focus to the Next
button, at which point Enter works.
Comment 1 Jiri Rechtacek 2004-06-11 20:09:56 UTC
fixed in src/org/netbeans/modules/project/ui/TemplatesPanelGUI.java;
/cvs/projects/projectui/src/org/netbeans/modules/project/ui/TemplatesPanelGUI.java,v
 <--  TemplatesPanelGUI.java
new revision: 1.17; previous revision: 1.16
done
Comment 2 Marian Mirilovic 2005-12-20 15:46:21 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.