Bug 489571 - 'menu item' accessibles mysteriously change to 'table cell' accessibles
Summary: 'menu item' accessibles mysteriously change to 'table cell' accessibles
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: All Linux
: P3 - Medium : Normal
Target Milestone: Release 1.1
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-27 00:31 UTC by Brian Merrell
Modified: 2009-07-01 17:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Merrell 2009-03-27 00:31:14 UTC
PROBLEM STATEMENT

All of the items of a ComboBox with the Simple DropDownStyle change Atk roles from 'menu item' to 'table cell' when the item values are changed at runtime.  

REPRO

1.  Run uia2atk/test/samples/combobox_stylechanges.py
2.  Click on the "Simple" button in the combobox_stylechanges.py application
3.  Run Accerciser, browse to the accessible with the 'menu' role, and expand it.  All of the menu's children will have the 'menu item' role.
4.  In the combobox_stylechanges.py sample, click on the "Toggle x10" button, this simply repopulates the combobox with 0-9 x10 (i.e., 0, 10, 20...) instead of 0-9.
5.  Expand the 'menu' accessible again.  (Accerciser should have contracted the 'menu' item accessible after completing step 4.)

RESULTS

The children of the menu accessible that used to have the 'menu item' role will now have the 'table cell' role

EXPECTED RESULTS

The combo box items should not change Atk roles

COMMENTS

You can continue pressing the "Toggle x10" button to change the ComboBox items back and forth, but the Atk roles won't change back to 'menu item'.  However, if you click the "DropDownList" or "DropDown" buttons (to change the ComboBox style to one of those styles) and then press the "Toggle x10" button, the roles will return to 'menu item'.

I haven't been able to reproduce this issue with the DropDown or DropDownList ComboBox styles.