[Mono-bugs] [Bug 79294][Nor] Changed - [Control] Removing a control from ControlsCollection doesn't remove it from parent

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Sep 5 22:11:04 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 monkey at jpobst.com.

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

--- shadow/79294	2006-09-05 18:26:39.000000000 -0400
+++ shadow/79294.tmp.3014	2006-09-05 22:11:03.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 79294
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: unserkonig at gmail.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -25,6 +25,16 @@
 
 The label "Hi" should dissapear after the button sets its Parent property
 to null.
 
 Observe that the control is well removed from ControlCollection, but it
 should also be removed from the parent's surface.
+
+------- Additional Comments From monkey at jpobst.com  2006-09-05 22:11 -------
+I noticed this as well.  I believe it is caused by the following in
+ControlCollection.Remove:
+
+// Removing this temporarily because we have a bug somewhere else
+// that this exposes
+// value.Hide ();
+
+Uncommenting this line fixed my case of this issue.


More information about the mono-bugs mailing list