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 [EMAIL PROTECTED]

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: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+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);
+        }
+    }
+}
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to