[Mono-bugs] [Bug 81118][Nor] New - Layout not performed when a child's Visible property changes
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Mar 11 23:18:10 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 georgegiolfan at yahoo.com.
http://bugzilla.ximian.com/show_bug.cgi?id=81118
--- shadow/81118 2007-03-11 22:18:10.000000000 -0500
+++ shadow/81118.tmp.15486 2007-03-11 22:18:10.000000000 -0500
@@ -0,0 +1,36 @@
+Bug#: 81118
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: georgegiolfan at yahoo.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Layout not performed when a child's Visible property changes
+
+Steps to reproduce the problem:
+Compile and run the following program.
+using System.Diagnostics;
+using System.Windows.Forms;
+class Test {
+ static void Main() {
+ Form f = new Form();
+ Control c = new Control();
+ c.Visible = false;
+ f.Controls.Add(c);
+ c.Dock = DockStyle.Fill;
+ c.Visible = true;
+ Debug.Assert(c.Width != 0);
+ }
+}
+
+How often does this happen?
+Always (on the SVN version).
More information about the mono-bugs
mailing list