[Mono-bugs] [Bug 77459][Wis] Changed - Setting the StartPosition of a form to Center Screen does not work

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Feb 3 04:00:10 EST 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.

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

--- shadow/77459	2006-02-02 23:39:53.000000000 -0500
+++ shadow/77459.tmp.30106	2006-02-03 04:00:09.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 77459
 Product: Mono: Class Libraries
 Version: 1.0
-OS: 
+OS: unknown
 OS Details: Windows XP
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: don at edvalson.net               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -35,6 +35,22 @@
 
 
 How often does this happen? always
 
 
 Additional Information:
+
+------- Additional Comments From peter at novonyx.com  2006-02-03 04:00 -------
+I used your testapp that showed the scaling issue and added a 
+this.StartPosition=FormStartPosition.CenterScreen after the 
+ResumeLayout, I also tested the code below to try and reproduce, but 
+I could not. However, I did find that we were centering before the 
+auto scaling was applied, so I did fix that part. Can you please re-
+test and if you still have the issue attach the code to reproduce. If 
+you can't reproduce anymore let me know as well so we can close this.
+
+static void Main() {
+	Form f = new Form();
+	f.StartPosition = FormStartPosition.CenterScreen;
+	f.ShowDialog();
+}
+


More information about the mono-bugs mailing list