Bug 503291

Summary: ToolStripComboBox accessible name is initially blank when a ToolStrip ComboBox has a default selection
Product: [Mono] UI Automation Reporter: Brian Merrell <bgmerrell>
Component: Winforms - GeneralAssignee: E-mail List <mono-a11y-bugs>
Status: NEW --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P3 - Medium CC: cachen
Version: Release 1.0   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Brian Merrell 2009-05-13 04:44:00 UTC
PROBLEM STATEMENT

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

This bug is only valid when there is no label from which the ToolStripComboBox can get its name.  However, at this time, the ToolStripComboBox does not get its name from a label due to Bug 503286.

REPRO

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

RESULTS

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

EXPECTED RESULTS

The combo box should have the name "8"

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:45:56 UTC
This is very similar to Bug 503281