Bug 577363 - combobox_dropdown: text child always has extra 'selected' state if SelectedIndex is used
Summary: combobox_dropdown: text child always has extra 'selected' state if SelectedIn...
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Unspecified
Hardware: x86 openSUSE 11.1
: P5 - None : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 09:43 UTC by calen chen
Modified: 2010-02-05 09:49 UTC (History)
0 users

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


Attachments
combobox_dropdown sample (2.11 KB, text/x-python)
2010-02-05 09:44 UTC, calen chen
Details

Note You need to log in before you can comment on or make changes to this bug.
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