[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.

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

--- 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: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: alex.olk at googlemail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+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
+/home/alex/develop/mcs/class/corlib/System.Collections/Hashtable.cs:378 
+  at System.Windows.Forms.MenuItem.MdiWindowClickHandler (System.Object
+sender, System.EventArgs e) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs:679
+
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+  at System.Windows.Forms.MenuItem.OnClick (System.EventArgs e) [0x0000b]
+in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs:456
+
+  at System.Windows.Forms.MenuItem.PerformClick () [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs:496
+
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.MenuItem:PerformClick ()
+  at System.Windows.Forms.MenuTracker.OnMouseUp
+(System.Windows.Forms.MouseEventArgs args) [0x0005e] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs:191
+
+  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m)
+[0x00743] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1984
+
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:185
+
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x0006b] in
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:171


More information about the mono-bugs mailing list