Bug 515905

Summary: ComboBox: role name is mixed when style changes
Product: [Mono] UI Automation Reporter: calen chen <cachen>
Component: Winforms - GeneralAssignee: E-mail List <mono-a11y-bugs>
Status: CONFIRMED --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P2 - High    
Version: Release 1.0   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: script for printing role name
new pyatspi script to print role name

Description calen chen 2009-06-24 07:21:57 UTC
PROBLEM STATEMENT:

there are 2 issues: (1) if combobox with dropdown or dropdownlist style,  descendants show menu and menu_items as role name, if combobox with simple style (combobox_simple.py sample), descendants show treetable and table_cells as role name, but when we change style from dropdown to simple, descendants are still menu and menu_items. (2)if click a button to change combobox items, descendants show menu and table_cells as role name

REPRO:

1. run uia2atk/test/samples/combobox_stylechanges.py
2. run the attachment script, which will perform(1) print combobox descendants role name, (2) click 'Simple' button, print combobox descendants role name, (3) click 'Toggle x10' button, print combobox descendants role name

RESULTS:

dropdown style: print "menu" and "menu item" (it's correct)

simple style: also print "menu" and "menu item"

simple style + toggle x10: print "menu" and "table cell"

EXPECTED RESULTS:

I think combobox descendants should show 'tree table' and 'table cell' as role name after change to simple style, it should identical to what combobox_simple.py sample is showing
Comment 1 calen chen 2009-06-24 07:23:29 UTC
Created attachment 299932 [details]
script for printing role name
Comment 2 calen chen 2009-06-24 07:42:48 UTC
Created attachment 299937 [details]
new pyatspi script to print role name 

Add Comments:

When change style from Simple to DropDown, combobox descendants still show 'menu' and 'table cell' as role name