After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 483212 - (Java) Missing significant information when performing where am i on combo box items
(Java) Missing significant information when performing where am i on combo bo...
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: 2.32.0
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
Depends on:
Blocks: orca-java
 
 
Reported: 2007-10-04 04:53 UTC by Eitan Isaacson
Modified: 2010-09-20 10:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix (5.88 KB, patch)
2010-04-23 00:59 UTC, Joanmarie Diggs (IRC: joanie)
committed Details | Review

Description Eitan Isaacson 2007-10-04 04:53:27 UTC
When running:
http://svn.gnome.org/viewcvs/orca/trunk/test/keystrokes/java/role_combo_box.py

The where am i that is performed on a combo box item returns:
SPEECH OUTPUT: 'Howard, Scott, Hans'
SPEECH OUTPUT: 'label'

The expected output should be something like:
SPEECH OUTPUT: 'Presets:'
SPEECH OUTPUT: 'combo box'
SPEECH OUTPUT: 'Howard, Scott, Hans'
SPEECH OUTPUT: 'item 3 of 10'
Comment 1 Joanmarie Diggs (IRC: joanie) 2010-04-22 17:32:07 UTC
I'm updating the regression tests.

What we get now is:

  "SPEECH OUTPUT: 'Presets: combo box Philip, Howard, Jeff'"

Therefore, what seems to be missing is just the positional information.
Comment 2 Joanmarie Diggs (IRC: joanie) 2010-04-23 00:59:04 UTC
Created attachment 159379 [details] [review]
Fix

The problem is that Java seems to have a very special hierarchy when it comes to combo boxes. The fix is to address this in the Java toolkit's speech generator (in _generatePositioninList)

The attached is pylinted and regression tested, including an update to the Java combo box regression test.