Bug 515905 - ComboBox: role name is mixed when style changes
Summary: ComboBox: role name is mixed when style changes
Status: CONFIRMED
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.1
: P2 - High : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-24 07:21 UTC by calen chen
Modified: 2010-05-20 18:01 UTC (History)
0 users

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


Attachments
script for printing role name (1.57 KB, text/x-python)
2009-06-24 07:23 UTC, calen chen
Details
new pyatspi script to print role name (2.08 KB, text/x-python)
2009-06-24 07:42 UTC, calen chen
Details

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