-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 1.4.2
-
Component/s: client-libs
-
x86
-
windows_2000, windows_xp
Name: jl125535 Date: 02/06/2004
FULL PRODUCT VERSION :
java version "1.4.2_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_02-b03)
Java HotSpot(TM) Client VM (build 1.4.2_02-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows 2000 [Version 5.00.2195]
EXTRA RELEVANT SYSTEM CONFIGURATION :
JAWS for Windows 5.0
A DESCRIPTION OF THE PROBLEM :
When running a simple Swing application with a combo box and the JAWS screen reader, the combo box may, on occasion, incorrectly render the items in the popup as the user scrolls through them (using up/down arrows). What is rendered in the popup does not effect the actual selection. For example, with a combo box of "one", "two", "three", if the popup is rendered so they all say "one" and index 2 is selected the box will correclty display "three", even though it is rendered as "one" in the popup. This does not happen when JAWS is turned off. The rendering returns to normal when JAWS is not running.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a Swing application wth a JComboBox with a few entries.
Run the application and JAWS.
Access the combo box and scroll though the entries using the arrow keys.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The same behavior when JAWS is not running. Up/down arrows and page up/page down should navigate the menu and what is rendered should not change as well as the screen reader should announce the current selection in a timely fashion.
ACTUAL -
The popup will render incorrectly, sometimes there are multiple entries of the same item, sometimes all items change to the last selected item, sometimes the selection disappears. This seems to only happen when quickly scrolling throught the list and JAWS is unable to catch up. When it does the items start to render incorrectly.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import javax.swing.*;
public class TestComboBox {
static Object [] data = new Object [] {"ZERO", "ONE", "TWO"};
public static void main(String [] args) {
JFrame f = new JFrame("Test");
JComboBox cb = new JComboBox(data);
f.getContentPane().add(cb);
f.pack();
f.setVisible(true);
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
1.3 JRE seems unaffected by this, however JAWS doesn't read the combo popup context.
(Incident Review ID: 231837)
======================================================================