Bug 510030

Summary: ToolBarButton with DropDownButton style stays impressed after being clicked
Product: [Mono] Mono: Class Libraries Reporter: Brian Merrell <bgmerrell>
Component: Windows.FormsAssignee: Mono Bugs <mono-bugs>
Status: RESOLVED FIXED QA Contact: Mono Bugs <mono-bugs>
Severity: Normal    
Priority: P5 - None CC: calberto.cortez
Version: SVN   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 11.1   
Whiteboard:
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: IronPython test case application referenced above

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!