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 33182 - a11y: Enter doesn`t work on the New Wizard Advanced pane
Summary: a11y: Enter doesn`t work on the New Wizard Advanced pane
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: 3.x
Hardware: All Solaris
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2003-04-23 15:44 UTC by Jiri Kovalsky
Modified: 2004-08-13 12:12 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 Jiri Kovalsky 2003-04-23 15:44:06 UTC
Environment:
============
Product Version       = Sun ONE Studio 5, Standard Edition (Build 030414)
IDE Versioning        = IDE/1 spec=3.42.1 impl=030414
Operating System      = SunOS version 5.8 running on sparc
Java; VM; Vendor      = 1.4.0_02; Java HotSpot(TM) Client VM 1.4.0_02-b02; Sun
Microsystems Inc.

Steps to reproduce:
===================
1. Call "Versioning|Mount Version Control|Generic VCS" from the main menu.
2. Wait for the "New Wizard - Generic VCS" dialog.
3. Select the ClearCase profile.
4. Press the "Next >" button.
5. Wait for the 'Advanced' window of the "New Wizard - Generic VCS" dialog.
6. Move focus to any of the 'Message' JTextFields (EDIT or LOCK).
7. Press Enter.

Expected result:
The next dialog window should be opened (Environment)

Actual result:
Nothing changes although the Next button is the default one.

Note:
=====
If focus is in any other element of the window the Next button can be activated
via Enter.A comment.
Comment 1 Martin Entlicher 2003-04-24 08:28:38 UTC
The textfield should ignore Enter.
Comment 2 Martin Entlicher 2004-04-26 14:48:33 UTC
This has nothing to do with ClearCase, it's a general problem of the
VCS Generic wizard/Customizer.

The wizard does not show the Advanced pane any more. The problem is in
the Customizer only.

The only difference is, that promptEditTextField and
promptLockTextField have attached an ActionListener. This change the
behavior!!! (This is really a damned thing, that attaching a listener
changes the behavior.)

Scheduling for promotion D.
Comment 3 Martin Entlicher 2004-04-26 14:57:29 UTC
Fixed in trunk, the ActionListener is removed:

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/VcsCustomizer.java,v
 <--  VcsCustomizer.java
new revision: 1.122; previous revision: 1.121

/cvs/vcsgeneric/src/org/netbeans/modules/vcs/advanced/VcsCustomizer.form,v
 <--  VcsCustomizer.form
new revision: 1.31; previous revision: 1.30
Comment 4 Jiri Kovalsky 2004-07-21 14:57:46 UTC
Verified in development build #200407151800 of NetBeans 4.0.