[Mono-bugs] [Bug 79667][Nor] New - MessageBox focus issues

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Oct 15 09:53:11 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=79667

--- shadow/79667	2006-10-15 09:53:11.000000000 -0400
+++ shadow/79667.tmp.23640	2006-10-15 09:53:11.000000000 -0400
@@ -0,0 +1,51 @@
+Bug#: 79667
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: Windows XP SP1
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: kuba.brecka at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MessageBox focus issues
+
+1. bug: You cannot click the messagebox with a [SPACE] key. Obviously the
+OK button in the messagebox doesn't have focus.
+2. bug: You cannot close the messagebox by hitting the [ESCAPE] key.
+3. bug: After clicking the OK button (either with the mouse or the Enter
+key) or closing the messagebox by clicking the X symbol in the top right
+corner, the original form doesn't get focused back.
+
+Reproduce code:
+using System;
+using System.Windows.Forms;
+
+namespace MonoTest29
+{
+    public class Form1 : Form
+    {
+        static void Main()
+        {
+            Application.Run(new Form1());
+        }
+
+        public Form1()
+        {
+            Button B = new Button();
+            B.Click += new EventHandler(B_Click);
+            Controls.Add(B);
+        }
+
+        void B_Click(object sender, EventArgs e)
+        {
+            MessageBox.Show("Test");
+        }
+    }
+}


More information about the mono-bugs mailing list