Bug 514300 - ToolBarButton: the "new" toggle button is identified as check box
Summary: ToolBarButton: the "new" toggle button is identified as check box
Status: CONFIRMED
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - General (show other bugs)
Version: Release 1.0
Hardware: i586 openSUSE 11.1
: P3 - Medium : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-18 09:37 UTC by Feng Xia Mu
Modified: 2010-08-31 13:35 UTC (History)
1 user (show)

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 Feng Xia Mu 2009-06-18 09:37:27 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
Comment 1 Michael Gorse 2009-07-20 04:28:52 UTC
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.
Comment 2 Michael Gorse 2009-07-27 20:41:19 UTC
May be done; need to review/discuss. #348.