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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 10 04:41:19 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 carsten.sponsel.ext at siemens.com.


--- shadow/82775	2007-09-10 04:41:19.000000000 -0400
+++ shadow/82775.tmp.25027	2007-09-10 04:41:19.000000000 -0400
@@ -0,0 +1,44 @@
+Bug#: 82775
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details: SLES 10 (SLERT 10)
+Status: NEW   
+Priority: Critical
+Component: Windows.Forms
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: carsten.sponsel.ext at siemens.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: ToolStripItemClickedEventHandler is called 2x
+Description of Problem:
+A ToolStripItemClickedEvent Handler, that is registered at a ToolStrip's
+ItemClicked event is called 2 times:
+CommonTools.ItemClicked += new ToolStripItemClickedEventHandler
+Results in 2 calls into CommonTools_ItemClicked when a button of the
+ToolStrip is clicked (the ToolStripButton itself has NO event handler
+assigned to its Click event!).
+Actual Results:
+Event handler is called 2 times.
+Expected Results:
+Event handler is called only once.
+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

More information about the mono-bugs mailing list