Bug 510061

Summary: ToolStripSplitButton: 'toggle button' is missing 'armed' when pressed
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:49:13 UTC
PROBLEM STATEMENT:

similar to bug510038:

'toggle button' in ToolStripSplitButton 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/toolstripsplitbutton.py
2. run accerciser, expand filler 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

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

COMMENTS: