Bug 503281 - ComboBox accessible name is initially blank when a ComboBox has a default selection
Summary: ComboBox accessible name is initially blank when a ComboBox has a default sel...
Status: VERIFIED FIXED
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.1
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Andres Aragoneses
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-13 03:54 UTC by Brian Merrell
Modified: 2009-07-10 02:32 UTC (History)
1 user (show)

See Also:
Found By: Integration Test
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Merrell 2009-05-13 03:54:39 UTC
PROBLEM STATEMENT

A ComboBox accessible name is blank when the GUI loads with a ComboBox item already being selected.

REPRO

1.  Run Accerciser, and open the "API Browser" tab
2.  Run uia2atk/test/samples/combobox_dropdown.py and notice that item "1" is already selected in the combo box
3.  In Accerciser's left pane Browse to and select the "combo box" accessible of the combobox_dropdown.py "ipy" application

RESULTS

The combo box accessible has a blank name ("")

EXPECTED RESULTS

The combo box should have the name "1"

COMMENTS

The name of the combo box does change when another combo box item is selected, the problem only exists when the GUI loads with a selection already made in the combo box.

I have verified the expected behavior in Windows and with a Gtk combo box example.
Comment 1 Brian Merrell 2009-05-13 04:46:27 UTC
This is very similar to Bug 503291, which deals with ToolStripComboBox controls instead of ComboBox controls.
Comment 2 Andres Aragoneses 2009-07-08 16:33:28 UTC
Fixed in trunk r137574.
Comment 3 calen chen 2009-07-09 02:58:52 UTC
Verified in RPM version 

mono-uia-132785-276
uiaatkbridge-137574-668
uiautomationwinforms-137456-676
Comment 4 Feng Xia Mu 2009-07-10 02:32:10 UTC
close on:
mono-core-137655-1415.src.rpm
mono-uia-132785-276.src.rpm
uiaatkbridge-137646-669.src.rpm
uiautomationwinforms-137656-678.src.rpm
Revision: 137666