[Mono-bugs] [Bug 78271][Wis] Changed - Scrolling fast causes
control location to shift
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu May 18 11:39:55 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=78271
--- shadow/78271 2006-05-05 18:50:13.000000000 -0400
+++ shadow/78271.tmp.23472 2006-05-18 11:39:55.000000000 -0400
@@ -38,6 +38,28 @@
Will provide test case.
------- Additional Comments From simon at nureality.ca 2006-05-02 18:09 -------
Created an attachment (id=16900)
Test Case
+
+------- Additional Comments From atsushi at ximian.com 2006-05-18 11:39 -------
+I have an easy fix for this problem. However, I am not sure that it
+does not cause other z-ordering problem. I guess that Control should
+have another implicit control list for both prepended and appended ones.
+
+Index: System.Windows.Forms/Control.cs
+===================================================================
+--- System.Windows.Forms/Control.cs (revision 60816)
++++ System.Windows.Forms/Control.cs (working copy)
+@@ -490,8 +490,8 @@
+ return (Control []) list.ToArray (typeof (Control));
+
+ Control [] res = new Control [list.Count + impl_list.Count];
+- impl_list.CopyTo (res);
+- list.CopyTo (res, impl_list.Count);
++ list.CopyTo (res);
++ impl_list.CopyTo (res, list.Count);
+
+ return res;
+ }
+
More information about the mono-bugs
mailing list