[Mono-bugs] [Bug 77979][Maj] Changed - MWF repainting behaviour is broken

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Apr 7 02:17:44 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 mkestner at ximian.com.


--- shadow/77979	2006-04-07 02:12:46.000000000 -0400
+++ shadow/77979.tmp.11651	2006-04-07 02:17:44.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 77979
 Product: Mono: Class Libraries
 Version: unspecified
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Major
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: xenomorph2 at onlinehome.de               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -41,6 +41,16 @@
 ------- Additional Comments From mkestner at ximian.com  2006-04-07 02:12 -------
 Created an attachment (id=16731)
 Patch for Peter's review.
+------- Additional Comments From mkestner at ximian.com  2006-04-07 02:17 -------
+The issue with the first sample was the combining of two Expose
+messages into a single paint would frequently result in the
+invalidation of the entire window because of the stupid way
+Rectangle.Union works.  
+The patch maintains a list of invalid rectangles on the Hwnd and uses
+it to construct both a stupid clip Rectangle and a smart Clip Region
+which is set on the Graphics context instead.

More information about the mono-bugs mailing list