[Mono-bugs] [Bug 80822][Nor] Changed - Parenting a Form doesn't work

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 11 04:53:00 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 contact at i-nz.net.

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

--- shadow/80822	2007-04-02 14:48:32.000000000 -0400
+++ shadow/80822.tmp.7119	2007-07-11 04:53:00.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 80822
 Product: Mono: Class Libraries
 Version: 1.2
 OS: unknown
 OS Details: 
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: rolfkvinge at ya.com                            
 ReportedBy: contact at i-nz.net               
 QAContact: mono-bugs at ximian.com
@@ -61,6 +61,109 @@
 Created an attachment (id=18982)
 Repro
 
 
 ------- Additional Comments From rolfkvinge at ya.com  2007-04-02 14:48 -------
 Fixed in r75287?
+
+------- Additional Comments From contact at i-nz.net  2007-07-11 04:52 -------
+As per revision 81676 seems broken again. Trace from last example posted:
+
+Unhandled Exception: System.NullReferenceException: Object reference
+not set to an instance of an object
+  at System.Windows.Forms.XplatUIX11.DefWndProc
+(System.Windows.Forms.Message& msg) [0x00000] 
+  at System.Windows.Forms.XplatUI.DefWndProc
+(System.Windows.Forms.Message& msg) [0x00000] 
+  at System.Windows.Forms.NativeWindow.DefWndProc
+(System.Windows.Forms.Message& m) [0x00000] 
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.NativeWindow:DefWndProc
+(System.Windows.Forms.Message&)
+  at System.Windows.Forms.Control.DefWndProc
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Form.DefWndProc
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Form.WmNcCalcSize
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&
+m) [0x00000] 
+  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x00000] 
+  at System.Windows.Forms.XplatUIX11.PerformNCCalc
+(System.Windows.Forms.Hwnd hwnd) [0x00000] 
+  at System.Windows.Forms.XplatUIX11.GetMessage (System.Object
+queue_id, System.Windows.Forms.MSG& msg, IntPtr handle, Int32
+wFilterMin, Int32 wFilterMax) [0x00000] 
+  at System.Windows.Forms.XplatUIX11.PeekMessage (System.Object
+queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32
+wFilterMin, Int32 wFilterMax, UInt32 flags) [0x00000] 
+  at System.Windows.Forms.XplatUIX11.WaitForHwndMessage
+(System.Windows.Forms.Hwnd hwnd, Msg message) [0x00000] 
+  at System.Windows.Forms.XplatUIX11.MapWindow
+(System.Windows.Forms.Hwnd hwnd, WindowType windows) [0x00000] 
+  at System.Windows.Forms.XplatUIX11.CreateWindow
+(System.Windows.Forms.CreateParams cp) [0x00000] 
+  at System.Windows.Forms.XplatUI.CreateWindow
+(System.Windows.Forms.CreateParams cp) [0x00000] 
+  at System.Windows.Forms.NativeWindow.CreateHandle
+(System.Windows.Forms.CreateParams create_params) [0x00000] 
+  at System.Windows.Forms.Control.CreateHandle () [0x00000] 
+  at System.Windows.Forms.Form.CreateHandle () [0x00000] 
+  at System.Windows.Forms.Control.WmDestroy
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Control.WndProc
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.ScrollableControl.WndProc
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.ContainerControl.WndProc
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Form.WmDestroy
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message&
+m) [0x00000] 
+  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x00000] 
+  at System.Windows.Forms.XplatUIX11.SendMessage (IntPtr hwnd, Msg
+message, IntPtr wParam, IntPtr lParam) [0x00000] 
+  at System.Windows.Forms.XplatUIX11.DestroyWindow (IntPtr handle)
+[0x00000] 
+  at System.Windows.Forms.XplatUI.DestroyWindow (IntPtr handle) [0x00000] 
+  at System.Windows.Forms.NativeWindow.DestroyHandle () [0x00000] 
+  at System.Windows.Forms.Control.DestroyHandle () [0x00000] 
+  at System.Windows.Forms.Control.RecreateHandle () [0x00000] 
+  at System.Windows.Forms.Form.ChangingParent
+(System.Windows.Forms.Control new_parent) [0x00000] 
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Form:ChangingParent (System.Windows.Forms.Control)
+  at System.Windows.Forms.Control.ChangeParent
+(System.Windows.Forms.Control new_parent) [0x00000] 
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:ChangeParent (System.Windows.Forms.Control)
+  at System.Windows.Forms.Control+ControlCollection.Add
+(System.Windows.Forms.Control value) [0x00000] 
+  at MainForm.MainForm_Load (System.Object sender, System.EventArgs e)
+[0x00000] 
+  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) [0x00000] 
+  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e)
+[0x00000] 
+  at System.Windows.Forms.Form.OnCreateControl () [0x00000] 
+  at System.Windows.Forms.Control.CreateControl () [0x00000] 
+  at System.Windows.Forms.Control.SetVisibleCore (Boolean value)
+[0x00000] 
+  at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] 
+  at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] 
+  at (wrapper remoting-invoke-with-check)
+System.Windows.Forms.Control:set_Visible (bool)
+  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
+System.Windows.Forms.ApplicationContext context) [0x00000] 
+  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
+mainForm) [0x00000] 
+  at MainForm.Main () [0x00000


More information about the mono-bugs mailing list