Bug 510038

Summary: ToolBarButton: 'toggle button' in DropDown style button is missing 'armed' and 'checked'
Product: [Mono] UI Automation Reporter: calen chen <cachen>
Component: Winforms - UIAAssignee: E-mail List <mono-a11y-bugs>
Status: NEW --- QA Contact: E-mail List <mono-a11y-qa>
Severity: Normal    
Priority: P4 - Low    
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-06-04 17:02:00 UTC
PROBLEM STATEMENT:

'toggle button' in DropDown style ToolBarButton doesn't raise 'armed' and 'checked' states when pushed, but according to bridge functional spec say that a button should get +Armed when it is pressed, and toggle buttons always remain pressed until they are clicked again, so I assume 'toggle button' should get 'armed' and 'checked' states when it is pressed

according to AtkState explanation:
Buttons often enter 'armed state when a pointer click occurs within their bounds, as a precursor to activation.

REPRO: 

1. run uia2atk/test/samples/toolbarbutton.py
2. run accerciser, expand DropDownButton and browse to 'toggle button' on the left side
3. click on the drop-down arrow portion of the button from UI(drop-down arrow portion of the button is pressed)
4. see toggle button's states under interface viewer from accerciser

RESULTS:  

toggle button doesn't get 'armed' and 'checked' states

EXPECTED RESULTS:  

I expect toggle button can get 'armed' and 'checked' states, like gail does,

when toggle button is released, 'armed' and 'checked' states should be deleted

COMMENTS:

In current, click on DropDownButton portion of the button('push button' portion), the "DropDownButton" ToolBarButton stays impressed, we think it's a bug with mono.winforms, please see bug510030