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 89206 - A11Y: Enter key does not close dialogs which have table/list/tree in it
Summary: A11Y: Enter key does not close dialogs which have table/list/tree in it
Status: VERIFIED INVALID
Alias: None
Product: uml
Classification: Unclassified
Component: General Diagram (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@uml
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2006-11-13 13:57 UTC by Alexandr Scherbatiy
Modified: 2007-10-19 21:10 UTC (History)
1 user (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 Alexandr Scherbatiy 2006-11-13 13:57:48 UTC
Steps to reproduce:

- Create a Use Case diagram
- Put a Use Case element on the diagram and name it
- Open properties window for the Use Case element
- Click '...' button on Extension Points property
  'Element Name - Extension Points' dialog pops
- Click 'Add' button
- Go to the 'Name' field
- Type 'My Extension Point'
- Press 'Enter' key
  The name is typed.
- Press 'Enter' key again
  The default 'OK' button is not pressed,
  the dialog is not closed
Comment 1 Alexandr Scherbatiy 2006-11-13 14:01:02 UTC
The same is for properties:
 - Template Parameters 
 - Stereotypes
 - Tagged Values
 - Constraints
Comment 2 Andrew Korostelev 2006-11-13 14:33:02 UTC
Just found that Ctrl+Enter may be used to activate 'OK' button.
But it is not expected shortcut.
Comment 3 Peter Lam 2006-11-13 20:17:02 UTC
Workaround: use Ctrl-Tab to get out of the table and then tab to OK button.
Comment 4 Yang Su 2006-11-13 21:48:50 UTC
Please check 
http://java.sun.com/products/jlf/ed2/book/HIG.Controls.html

for default command button section,

"The Enter and Return equivalents activate the default command button unless
keyboard focus is currently on a component that accepts the Enter or Return key.
For instance, if the insertion point is in a multiline text area and the user
presses Enter, the insertion point moves to the beginning of a new line rather
than activating a default button. In this case, users can press Ctrl-Enter to
activate the default button. Alternatively, they can press Ctrl-Tab to move the
focus out of the current component and then press Enter."

Hence this is not a bug.
Comment 5 Alexandr Scherbatiy 2006-11-14 09:31:45 UTC
It needs to use Ctrl+Enter instead of Enter