[Mono-bugs] [Bug 78866][Nor] New - FormStartPosition.Manual doesn't work on Linux
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Jul 15 08:36:39 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 kuba.brecka at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78866
--- shadow/78866 2006-07-15 08:36:39.000000000 -0400
+++ shadow/78866.tmp.21742 2006-07-15 08:36:39.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 78866
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: Slackware
+Status: NEW
+Resolution:
+Severity: Unknown
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com
+ReportedBy: kuba.brecka at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: FormStartPosition.Manual doesn't work on Linux
+
+When I set Form.StartPosition = FormStartPosition.Manual, the form still
+shows wherever it wants (default location). This happens on Linux only.
+Tested on Slackware, using mono 1.1.16.
+
+Reproduce code:
+using System;
+using System.Collections.Generic;
+using System.Windows.Forms;
+using System.Drawing;
+
+namespace MonoTest14
+{
+ public partial class Form1 : Form
+ {
+ static void Main()
+ {
+ Application.Run(new Form1());
+ }
+
+ public Form1()
+ {
+ this.Size = new Size(300, 300);
+
+ // Uncommenting this solves the problem:
+ // this.CreateHandle();
+
+ this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
+ this.Location = new Point(0, 0);
+ }
+ }
+}
More information about the mono-bugs
mailing list