Bugzilla – Bug 489571
'menu item' accessibles mysteriously change to 'table cell' accessibles
Last modified: 2009-07-01 17:11:57 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.