Bug 519507

Summary: PropertyGrid: toolbarbuttons on toolbar should be 'toggle buttons'
Product: [Mono] UI Automation Reporter: calen chen <cachen>
Component: Winforms - GeneralAssignee: E-mail List <mono-a11y-bugs>
Status: NEW --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P3 - Medium    
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: ---

Description calen chen 2009-07-06 15:14:08 UTC
PROBLEM STATEMENT:

according to SWF source PropertyGrid.cs, buttons on toolbar are ToolBarButtons with ToggleButton style, so they should be implemented to 'toggle button' role.
if the button is pushed that is should have 'armed' and 'checked' states

REPRO:

1. run uia2atk/test/samples/propertygrid.py
2. run accerciser, expand 'Property Grid' panel, expand 'tool bar', browse to the toolbar buttons to see role name
3. the first button is pushed by default, see its states under interface viewer
4. push the second button on tool bar in GUI, see its states from accerciser

RESULTS:

ToolBarButtons have been implemented to 'push button' role, and doesn't raise 'checked' and 'armed' states for the pushed button

EXPECTED RESULTS:

ToolBarButtons should be 'toggle button' role;

the pushed toggle button should raise 'checked' and 'armed' states