[Mono-bugs] [Bug 78080][Nor] Changed - [PATCH] DockStyle.Fill +
BringToFront wrong behavior
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue May 16 06:40: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 atsushi at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78080
--- shadow/78080 2006-05-16 03:42:50.000000000 -0400
+++ shadow/78080.tmp.13264 2006-05-16 06:40:57.000000000 -0400
@@ -10,13 +10,14 @@
Component: Windows.Forms
AssignedTo: peter at novonyx.com
ReportedBy: roger.jakobsson at jorosoft.se
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
-Summary: DockStyle.Fill + BringToFront wrong behavior
+Cc: atsushi at ximian.com,johnny.roos at jorosoft.se
+Summary: [PATCH] DockStyle.Fill + BringToFront wrong behavior
Description of Problem:
When using BringToFront on a UserControl in a Panel, the z-order doesn't
work correctly
Steps to reproduce the problem:
@@ -99,6 +100,15 @@
f2.BringToFront();
}
}
Comment out f1.Dock = DockStyle.Fill (or f2) and it will work (control
will be hidden, but keyboard control is still possible).
+
+------- Additional Comments From atsushi at ximian.com 2006-05-16 06:40 -------
+On fixing this bug, two problems related to this bug were found:
+- For controls with Dock = DockStyle.Fill, only the first control in
+the child controls is visible.
+- Control.SetIndex() updates the argument control index internally,
+but does not perform layout.
+
+Attaching the fix.
More information about the mono-bugs
mailing list