[Mono-bugs] [Bug 78708][Nor] New - UpDownBase: weird focus transition

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jun 25 22:50:37 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 atsushi at ximian.com.

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

--- shadow/78708	2006-06-25 22:50:37.000000000 -0400
+++ shadow/78708.tmp.24455	2006-06-25 22:50:37.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 78708
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: atsushi at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: UpDownBase: weird focus transition
+
+There are some problems, but probably the source of the problem is just
+focus handling. In the example below...
+
+1. Clicking NumericUpDown does not work, until you hit TAB key four times
+so that the NumericUpDown once receive focus. After that, you can click and
+select the NumericUpDown control.
+
+2. Once you moved to the numeric up down, hit TAB key and move back to the
+leftmost button. Click NumericUpDown and go back there. Then hit TAB key
+again, and you'll see that the focus moves to the *second* button, not the
+first one which is laid next to the updown.
+
+
+using System;
+using System.Drawing;
+using System.Windows.Forms;
+
+public class Test : Form
+{
+        public static void Main ()
+        {
+                Application.Run (new Test ());
+        }
+
+        public Test ()
+        {
+                Button b;
+                for (int i = 0; i < 3; i++) {
+                        b = new Button ();
+                        b.Dock = DockStyle.Right;
+                        Controls.Add (b);
+                }
+                DomainUpDown n = new DomainUpDown ();
+                n.Dock = DockStyle.Top;
+                Controls.Add (n);
+        }
+}


More information about the mono-bugs mailing list