Bug 510038 - ToolBarButton: 'toggle button' in DropDown style button is missing 'armed' and 'checked'
Summary: ToolBarButton: 'toggle button' in DropDown style button is missing 'armed' an...
Status: NEW
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - UIA (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.1
: P4 - Low : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-04 17:02 UTC by calen chen
Modified: 2009-07-16 10:09 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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