[Mono-bugs] [Bug 79668][Maj] New - Setting WindowState causes a form to be shown

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Oct 15 10:13:00 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=79668

--- shadow/79668	2006-10-15 10:13:00.000000000 -0400
+++ shadow/79668.tmp.24287	2006-10-15 10:13:00.000000000 -0400
@@ -0,0 +1,44 @@
+Bug#: 79668
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: Windows XP SP1
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Major
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: kuba.brecka at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Setting WindowState causes a form to be shown
+
+On Windows XP SP1, using Mono 1.1.18 (new bug in this release, was not in
+the previous).
+
+If you set Form.WindowState property on a hidden form, the form gets shown.
+This is obviously a bug.
+
+Reproduce code:
+using System;
+using System.Windows.Forms;
+
+namespace MonoTest30
+{
+    public class Form1 : Form
+    {
+        static void Main()
+        {
+            Application.Run(new Form1());
+        }
+
+        public Form1()
+        {
+            Form F = new Form();
+            F.WindowState = FormWindowState.Normal;
+        }
+    }
+}


More information about the mono-bugs mailing list