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 31665 - a11y: Button "..." shoud have ASCII mnenonic
Summary: a11y: Button "..." shoud have ASCII mnenonic
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -S1S-
Hardware: All All
: P2 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2003-03-04 19:41 UTC by Marian Mirilovic
Modified: 2003-03-18 17:47 UTC (History)
3 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 Marian Mirilovic 2003-03-04 19:41:02 UTC
Bug has been transfered from BugTraq:
http://developer.java.sun.com/developer/bugParade/bugs/4826807.html

Description: 


Name: ssR10187			Date: 03/03/2003


  Product Version       = Sun ONE Studio 5, Standard Edition (Build 030220_2)
  IDE Versioning        = IDE/1 spec=3.38 impl=030220_2
  Operating System      = SunOS version 5.8 running on sparc
  Java; VM; Vendor      = 1.4.0; Java HotSpot(TM) Client VM 1.4.0-b92; Sun
Microsystems Inc.
   
To reproduce:

- Open wizard dialog via File/New/JSP &Servlet/Web Module

Button "..." shoud have ASCII mnemonic (like Browse...).
======================================================================

Evaluation: 
I agree with Tim (his mail is attached below). This type of issues should be
solved in general for whole IDE not only for one dialog, so we need a proposal
from UI/HIE.

---------------------
> FYI, I have initiated a conversation with the HIEs to determine
> what the correct resolution is for issues like the one below,
> and also on use of mnemonics for instructions (which is
> genuinely inconsistent in the IDE - I have created umbrella
> issue http://www.netbeans.org/issues/show_bug.cgi?id=31537
> to address it).

> The case of the "..." button may be problematic since it is
> a use case of PropertyPanel, which is also used in the
> property sheet and elsewhere - no single mnemonic or text
> is correct for all use cases, and for some (in the property
> sheet itself), it would be impossible to add
> "&Browse" or such due to screen real estate limitations.

> Determining when an instance of PropertyPanel is in a
> context where text/mnemonic can be displayed may
> also be problematic, but I haven't investigated it
> yet. 

========================

Anyway it isn't property panel about what we are speaking here.

A comment.
Comment 1 Petr Jiricka 2003-03-05 13:50:32 UTC
Ann, what do you think the mnemonic should be ? Also, 
should not we just rename the button to something that has 
text, e.g. 'Browse...' ?

Comment 2 Ann Sunhachawee 2003-03-05 16:38:06 UTC
I agree, our dialogs should have a "&Browse..." instead of "..." for
localization and mnemonic reasons. in general, we should evaluate if
dialog needs some GUI layout tweaking if this throws off the alignment
of components or compresses text fields too much. 

Looking at this particular instance though, I think replacing the
button text will not compromise space.

Comment 3 Petr Jiricka 2003-03-06 09:37:28 UTC
Upgrading to P2, reassigning to Milan.
Comment 4 Milan Kuchtiak 2003-03-06 16:40:21 UTC
I fixed the issue. 
"..." button is just changed to "Browse..." button.
Also the mnemonic key 'B' added.

Waiting for code review from P.Jiricka

Comment 6 Marian Mirilovic 2003-03-14 15:19:15 UTC
Thanks, it is already fixed, but ...

There are two buttons with the same mnemonic = mnemonics collicion,
"Browse" and "Back" have the mnemonic 'B'. 

I am sorry :(
Comment 7 Milan Kuchtiak 2003-03-14 16:23:07 UTC
Sorry - I haven't noticed that.
I need to have the same a11y check program as Marian has.

See the diff :

http://web.netbeans.org/source/browse/web/core/src/org/netbeans/modules/web/context/Bundle.properties.diff?r1=1.10&r2=1.11
Comment 8 Marian Mirilovic 2003-03-18 17:47:50 UTC
verified in [s1s5](030317)