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 351914 - combo box not reported in java application
combo box not reported in java application
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
0.2.x
Other Linux
: Normal normal
: ---
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-18 13:12 UTC by Oana Serb
Modified: 2006-08-20 00:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (857 bytes, patch)
2006-08-18 13:18 UTC, Oana Serb
committed Details | Review

Description Oana Serb 2006-08-18 13:12:41 UTC
In NetBeans IDE 5.0, open Open Project dialog.
Move to Files Of Type combo box.
"Project Folder" item is selected.
The combo box and its value are not reported.

An error message is fired in __getDisplayedTextInCombo() function when Orca tries to get the selected combo item.
The selected item doesn't have SELECTED state. Its state is changed to SELECTED only after pressing Space on the item.

A bug was filled against java-bridge regarding this issue: http://bugzilla.gnome.org/show_bug.cgi?id=351909
Comment 1 Oana Serb 2006-08-18 13:16:14 UTC
I'm using J2SE 1.5.0_08 version
Comment 2 Oana Serb 2006-08-18 13:18:48 UTC
Created attachment 71145 [details] [review]
Proposed patch

Added a "try" statement when getting the selected item
Comment 3 Willie Walker 2006-08-18 14:00:44 UTC
Patch looks safe.  Thanks and please commit it!  
Comment 4 Willie Walker 2006-08-20 00:57:32 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report and patch.