Bugzilla – Bug 514300
ToolBarButton: the "new" toggle button is identified as check box
Last modified: 2010-08-31 13:35:32 UTC
COMMENTS The name of the "New" toggle button expose to accerciser is "check box", from the GUI we can see it should be an toggle button. REPRO 1. Run uia2atk/test/samples/toolstripdropdown_toolstripbutton.py. 2. expand frame on the left treeview, expand the accessible with Role name "tool bar". 3. look at the "&New" accessible RESULTS the "&New" ones has "check box" Role name EXPECTED RESULTS the "&New" ones should have "toggle button" Role name
The ToolStripButton in the sample shows up as a Button in Windows, not a CheckBox, so the ControlType change made in 478832 is incorrect at least in some cases. Additionally, the bridge does not handle buttons that gain or lose a ToggleButton behavior at runtime, so I've done some refactoring.
May be done; need to review/discuss. #348.