[Mono-bugs] [Bug 78358][Nor] New - Something is wrong with mdi z-order

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 10 15:57:57 EDT 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 xenomorph2 at onlinehome.de.

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

--- shadow/78358	2006-05-10 15:57:57.000000000 -0400
+++ shadow/78358.tmp.2173	2006-05-10 15:57:57.000000000 -0400
@@ -0,0 +1,94 @@
+Bug#: 78358
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: xenomorph2 at onlinehome.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Something is wrong with mdi z-order
+
+Start the swf-mdi sample in trunk/winforms/mdi.
+
+Click the Fixed3D client window to bring it to the front.
+This changes the z-order of the FixedToolWindow also. It is now number 2
+behind the Fixed3D window (see screenshot).
+
+Next, close 2 mdi client windows. When closing the second one you get a 
+System.ObjectDisposedException.
+
+Unhandled Exception: System.ObjectDisposedException: The object was used
+after being disposed.
+in [0x00173] System.Windows.Forms.Control:CreateHandle ()
+in [0x00001] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1315)
+System.Windows.Forms.Form:CreateHandle ()
+in [0x0000c] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:1913)
+System.Windows.Forms.Control:get_Handle ()
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:get_Handle ()
+in [0x00022] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3744)
+System.Windows.Forms.Control:UpdateZOrder ()
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:UpdateZOrder ()
+in [0x0006e] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:557)
+System.Windows.Forms.Control+ControlCollection:SetChildIndex
+(System.Windows.Forms.Control child, Int32 newIndex)
+in [0x00066] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3106)
+System.Windows.Forms.Control:SendToBack ()
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:SendToBack ()
+in [0x00024] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs:417)
+System.Windows.Forms.MdiClient:ActivateChild (System.Windows.Forms.Form form)
+in (wrapper remoting-invoke-with-check)
+System.Windows.Forms.MdiClient:ActivateChild (System.Windows.Forms.Form)
+in [0x0000c] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiWindowManager.cs:351)
+System.Windows.Forms.MdiWindowManager:Activate ()
+in [0x00001] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/InternalWindowManager.cs:327)
+System.Windows.Forms.InternalWindowManager:HandleNCLButtonDown
+(System.Windows.Forms.Message m)
+in [0x00227] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/InternalWindowManager.cs:190)
+System.Windows.Forms.InternalWindowManager:HandleMessage
+(System.Windows.Forms.Message m)
+in [0x00013] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1657)
+System.Windows.Forms.Form:WndProc (System.Windows.Forms.Message m)
+in [0x00007] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:160)
+System.Windows.Forms.Control+ControlNativeWindow:WndProc
+(System.Windows.Forms.Message m)
+in [0x00056] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:146)
+System.Windows.Forms.NativeWindow:WndProc (IntPtr hWnd, Msg msg, IntPtr
+wParam, IntPtr lParam)
+in [0x0001c] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2618)
+System.Windows.Forms.XplatUIX11:DispatchMessage (System.Windows.Forms.MSG msg)
+in [0x00006] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:414)
+System.Windows.Forms.XplatUI:DispatchMessage (System.Windows.Forms.MSG msg)
+in [0x00248] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:392)
+System.Windows.Forms.Application:RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context)
+in [0x00007] (at
+/home/alex/develop/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:288)
+System.Windows.Forms.Application:Run (System.Windows.Forms.Form mainForm)
+in [0x00005] (at /home/alex/develop/winforms/mdi/swf-mdi.cs:44)
+MainForm:Main (System.String[] args)


More information about the mono-bugs mailing list