[Mono-bugs] [Bug 82041][Nor] Changed - TableLayoutPanel: NRE using SuspendLayout with ResumeLayout

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jul 8 20:14:01 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=82041

--- shadow/82041	2007-07-08 20:13:51.000000000 -0400
+++ shadow/82041.tmp.28724	2007-07-08 20:14:00.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 82041
 Product: Mono: Class Libraries
 Version: 1.2
 OS: All
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: monkey at jpobst.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
@@ -21,6 +21,22 @@
 _tableLayoutPanel.ResumeLayout is not invoked.
 
 ------- Additional Comments From gert.driesen at pandora.be  2007-07-08 08:40 -------
 Created an attachment (id=19525)
 Repro
 
+
+------- Additional Comments From monkey at jpobst.com  2007-07-08 20:14 -------
+Fixed in SVN r81611:
+
+2007-07-08  Jonathan Pobst  <monkey at jpobst.com>
+
+	* TableLayoutPanel.cs: Add a null check so we don't NRE trying to
+paint cell borders if we haven't calculated where they go yet.
+	[Fixes bugs #82040 and #82041]
+
+2007-07-08  Jonathan Pobst  <monkey at jpobst.com>
+
+	* TableLayoutTest.cs: Simplify and enable Gert's test for bug
+	#82040.  Add a test for bug #82041.
+
+Thanks for the report!


More information about the mono-bugs mailing list