[Mono-bugs] [Bug 82838][Nor] Changed - Passing Rectangle.Empty to Control.Invalidate(Rectangle) should draw the entire control

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Sep 13 12:12:31 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 monkey at jpobst.com.

http://bugzilla.ximian.com/show_bug.cgi?id=82838

--- shadow/82838	2007-09-13 12:11:58.000000000 -0400
+++ shadow/82838.tmp.17133	2007-09-13 12:12:31.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 82838
 Product: Mono: Class Libraries
 Version: 1.2
 OS: SUSE 9.2
 OS Details: using openSUSE 10.2
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: monkey at jpobst.com                            
 ReportedBy: brock.reeve at ni.com               
 QAContact: mono-bugs at ximian.com
@@ -69,6 +69,14 @@
         {
             Invalidate(Rectangle.Empty);
         }
 
 4. Run and click on the button. Notice the circle alternates colors. Now 
 run against MONO (Any OS). Notice clicking the button does nothing.
+
+------- Additional Comments From monkey at jpobst.com  2007-09-13 12:12 -------
+Fixed in r85755.  Thanks for the report and the test case!
+
+2007-09-13  Jonathan Pobst  <monkey at jpobst.com>
+
+	* Control.cs: If Rectangle.Empty is passed to Invalidate, use
+	ClientRectangle instead.  [Fixes bug #82838]


More information about the mono-bugs mailing list