Bug 577363

Summary: combobox_dropdown: text child always has extra 'selected' state if SelectedIndex is used
Product: [Mono] UI Automation Reporter: calen chen <cachen>
Component: Winforms - GeneralAssignee: E-mail List <mono-a11y-bugs>
Status: NEW --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P5 - None    
Version: Unspecified   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: combobox_dropdown sample

Description calen chen 2010-02-05 09:43:29 UTC
PROBLEM STATEMENTS:

If combobox has 'SelectedIndex' setting, the child 'text' of this combobox always has extra 'selected' state

REPRO:

1. Run the attachment sample, combobox1 has 'SelectedIndex = 1' setting, but combobox2 hasn't.
2. Run accerciser, expand combobox1, select 'text' role on the left tree, under 'interface viewer' to see its states that has 'selected'
3. On app GUI, click combobox2 to move focus from combobx1, 
4. do step 2 again to check 'text''s state

RESULTS:

'text' under combobox1 always has 'selected' state

EXPECTED RESULTS:

when 'SelectedIndex' is giving, I think the 'selected' state should only be in the selected item, but not in the 'text' role.
Comment 1 calen chen 2010-02-05 09:44:24 UTC
Created attachment 340979 [details]
combobox_dropdown sample
Comment 2 calen chen 2010-02-05 09:49:45 UTC
COMMENTS:

Only one reason the child 'text' of Combobox_Dropdown would be selected, please see https://bugzilla.novell.com/show_bug.cgi?id=456341#c6