[Mono-bugs] [Bug 82775][Cri] Changed - ToolStripItemClickedEventHandler is called 2x

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 10 11:49:47 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by monkey at jpobst.com.

http://bugzilla.ximian.com/show_bug.cgi?id=82775

--- shadow/82775	2007-09-10 11:49:24.000000000 -0400
+++ shadow/82775.tmp.1596	2007-09-10 11:49:47.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 82775
 Product: Mono: Class Libraries
 Version: 1.2
 OS: other
 OS Details: SLES 10 (SLERT 10)
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Critical
 Component: Windows.Forms
 AssignedTo: monkey at jpobst.com                            
 ReportedBy: carsten.sponsel.ext at siemens.com               
 QAContact: mono-bugs at ximian.com
@@ -39,6 +39,19 @@
 
 How often does this happen? 
 Everytime a button of the ToolStrip is clicked.
 
 Additional Information:
 It happens only on mono 1.2.5 - on mono 1.2.4 it works
+
+------- Additional Comments From monkey at jpobst.com  2007-09-10 11:49 -------
+Fixed in r85570.  Thanks for the report!
+
+2007-09-10  Jonathan Pobst  <monkey at jpobst.com>
+
+	* ToolStrip.cs: Make sure ItemClicked is raised before the
+ToolStripItem's
+	Click, and that it is only called once.
+	* ToolStripMenuItem.cs: Call OnClick even when there are dropdown items.
+	* ToolStripDropDownItem.cs: Override HandleItemClick so dropdowns stay
+	dropped down.
+	[Fixes bug #82775]


More information about the mono-bugs mailing list