Bug 510030 - ToolBarButton with DropDownButton style stays impressed after being clicked
Summary: ToolBarButton with DropDownButton style stays impressed after being clicked
Status: RESOLVED FIXED
Alias: None
Product: Mono: Class Libraries
Classification: Mono
Component: Windows.Forms (show other bugs)
Version: SVN
Hardware: x86 openSUSE 11.1
: P5 - None : Normal
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-04 16:37 UTC by Brian Merrell
Modified: 2009-06-26 19:48 UTC (History)
1 user (show)

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


Attachments
IronPython test case application referenced above (4.06 KB, text/plain)
2009-06-04 16:45 UTC, Brian Merrell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Merrell 2009-06-04 16:37:55 UTC
Description of Problem:

This was found on Mono WinForms revision 133896.

With Mono a ToolBarButton with the Style property set to ToolBarButtonStyle.DropDownButton stays impressed (i.e., armed) when it is clicked.  This is not the case in .NET on Windows.

Steps to reproduce the problem:

1.  Run the attached (IronPython) test case application
2.  Left click on the "DropDownButton" push button portion of the ToolBarButton (i.e., don't click on the drop-down arrow portion of the button).

Actual Results:

The "DropDownButton" ToolBarButton stays impressed

Expected Results:

The "DropDownButton" ToolBarButton should be pressed and immediately released; it should not stay impressed.

How often does this happen? 

Every time.

Comments:

I have verified the expected behavior on Windows Vista.
Comment 1 Brian Merrell 2009-06-04 16:45:14 UTC
Created attachment 296310 [details]
IronPython test case application referenced above
Comment 2 Carlos Alberto Cortez 2009-06-26 19:48:30 UTC
This is fixed in rev 137002. Thanks!