[Mono-bugs] [Bug 81147][Nor] New - Raising the mouse button on a ContextMenuStrip item causes a crash

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Mar 14 19:49:06 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 georgegiolfan at yahoo.com.

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

--- shadow/81147	2007-03-14 18:49:06.000000000 -0500
+++ shadow/81147.tmp.5980	2007-03-14 18:49:06.000000000 -0500
@@ -0,0 +1,37 @@
+Bug#: 81147
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: georgegiolfan at yahoo.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Raising the mouse button on a ContextMenuStrip item causes a crash
+
+Steps to reproduce the problem:
+1. Compile and run the following program.
+using System.Windows.Forms;
+class TestForm : Form {
+	static void Main() {
+		Application.Run(new TestForm());
+	}
+	protected override void OnMouseUp(MouseEventArgs e) {
+		base.OnMouseUp(e);
+		ContextMenuStrip c = new ContextMenuStrip();
+		c.Items.Add("Test");
+		c.Show(this, e.Location);
+	}
+}
+2. Click on the form.
+3. Click the menu.
+
+How often does this happen? 
+Always (on the SVN version).


More information about the mono-bugs mailing list