[Mono-bugs] [Bug 80574][Nor] Changed - Setting FormBorderStyle should not change Bounds

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jan 22 00:29:14 EST 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.


--- shadow/80574	2007-01-21 16:41:45.000000000 -0500
+++ shadow/80574.tmp.6303	2007-01-22 00:29:14.000000000 -0500
@@ -2,16 +2,16 @@
 Product: Mono: Class Libraries
 Version: 1.2
 OS: Windows XP
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
-AssignedTo: toshok at ximian.com                            
+AssignedTo: monkey at jpobst.com                            
 ReportedBy: georgegiolfan at yahoo.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 Summary: Setting FormBorderStyle should not change Bounds
@@ -44,6 +44,12 @@
 Always (on the SVN version).
 Additional Information:
 I noticed the client size remains the same (it should not). The line 
 this.Size = SizeFromClientSize (this.ClientSize);
 in the Form.FormBorderStyle setter looks suspicious.
+------- Additional Comments From monkey at jpobst.com  2007-01-22 00:29 -------
+I added that line this week because my tests showed that in fact it
+was the ClientSize that remained the same and not the Size when the
+FormBorderStyle was changed.  But I can reproduce this bug, so I'll
+look into it further.

More information about the mono-bugs mailing list