[Mono-bugs] [Bug 80035][Nor] New - Maximizing and then closing a MDI form doesn't close the mdi child form

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Nov 25 06:18:38 EST 2006

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 alex.olk at googlemail.com.


--- shadow/80035	2006-11-25 06:18:38.000000000 -0500
+++ shadow/80035.tmp.9285	2006-11-25 06:18:38.000000000 -0500
@@ -0,0 +1,59 @@
+Bug#: 80035
+Product: Mono: Class Libraries
+Version: 1.0
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: alex.olk at googlemail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Maximizing and then closing a MDI form doesn't close the mdi child form
+If you maximize a mdi child and then close it the mdi child form doesn't
+get closed. Nothing happens, it is still visible.
+To reproduce, run winforms/mainmenu/swf-mainmenu.exe. Now maximize the
+"Three" mdi child form. Hit the close button (x). The form ist still
+visible and maximized. Open the "Window" menu, click "Three" and you get:
+System.ArgumentNullException: null key
+Parameter name: key
+  at System.Collections.Hashtable.get_Item (System.Object key) [0x000ca] in
+  at System.Windows.Forms.MenuItem.MdiWindowClickHandler (System.Object
+sender, System.EventArgs e) [0x00000] in
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+  at System.Windows.Forms.MenuItem.OnClick (System.EventArgs e) [0x0000b]
+  at System.Windows.Forms.MenuItem.PerformClick () [0x00000] in
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.MenuItem:PerformClick ()
+  at System.Windows.Forms.MenuTracker.OnMouseUp
+(System.Windows.Forms.MouseEventArgs args) [0x0005e] in
+  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m)
+[0x00743] in
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x0006b] in

More information about the mono-bugs mailing list