[Mono-bugs] [Bug 78388][Nor] Changed - [PATCH] ProgressBar doesn't redraw when Anchor is set to All and the form/control is resized

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 16 19:34:05 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 peter at novonyx.com.


--- shadow/78388	2006-05-15 01:43:28.000000000 -0400
+++ shadow/78388.tmp.31492	2006-05-16 19:34:05.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 78388
 Product: Mono: Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEW   
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: xenomorph2 at onlinehome.de               
 QAContact: mono-bugs at ximian.com
@@ -32,6 +32,16 @@
 ------- Additional Comments From atsushi at ximian.com  2006-05-15 01:39 -------
 Created an attachment (id=17017)
 proposed patch and test
+------- Additional Comments From peter at novonyx.com  2006-05-16 19:34 -------
+There was no need for timers and such to update. Simply invalidating 
+the surface on a resize is enough.
+Fix is in svn r60760.
+On a side note, ProgressBar would benefit from adding some calcs to 
+determine only the exposed area instead of redrawing the whole 
+control whever a value is changed. Only resizes require full redraws.

More information about the mono-bugs mailing list