Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4838325
Votes 0
Synopsis sticky keys dont work as expected in JDK 1.3.1_07 (Accessibility)
Category java:classes_awt
Reported Against 1.3.1_07
Release Fixed 1.3.1_10
State 10-Fix Delivered, Verified, bug
Priority: 2-High
Related Bugs
Submit Date 27-MAR-2003
Description
Customer Problem Description:
---------------------------

Run SwingSet2 demo.

With sticky keys off, pressing ALT + a mnemonic does the right thing, for
example opens a menu or transfers focus.

With sticky keys on, pressing and releasing ALT, and pressing and releasing
a mnemonic does not do the right thing.

Note that there are two modes for sticky keys on Windows.  One is to press
the modifier key twice, and then the mnemonic - this works sometimes.  With
the other mode you only have to press the modifier key once, and then the
mnemonic - this never works under 1.3.1.

Steps to reproduce:

use the SwingSet2 demo.
  
  First goto control panel and click on Accesibility Options. Then enable 'Use 
Sticky Keys'.
  
  Then bring up the swingset2 demo.
  
  When you press the Alt and F seperately, it seems to work in 1.4 but not in 
1.3.1
Work Around
N/A
Evaluation
We should find out if this exists in the current workspace.  I'll commit it 
to Tiger for tracking purposes.  If a fix is needed in a release prior to 1.5, 
the customer will need to escalate this bug and handle it through CTE.  
 xxxxx@xxxxx  2003-03-26

According to  xxxxx@xxxxx , this bug does not occur in 1.4.2, so it 
only needs to be handled by CTE.  They are working on it as an escalation 
right now.  
 xxxxx@xxxxx  2003-05-07





This bug is not reproducible in Tiger.
The fix for earlier releases suggested by CTE engineer  xxxxx@xxxxx 
is to replace GetAsyncKeyState with GetKeyState, so that when processing
events, we get key state at the moment of event, not current key state.
In Tiger workspace, GetAsyncKeyState is not used anymore, and SwignSet
works with sticky keys as expected.

 xxxxx@xxxxx  05/08/2003




======================================================================
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang