[Mono-bugs] [Bug 78547][Nor] Changed - Flat Toolbar keyboard navigation is not implemented

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 31 05:25:23 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=78547

--- shadow/78547	2006-05-31 04:04:52.000000000 -0400
+++ shadow/78547.tmp.27542	2006-05-31 05:25:23.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 78547
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: peter at novonyx.com                            
 ReportedBy: atsushi at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -45,6 +45,38 @@
 }
 
 
 Additional Information:
 
 It also affects on PropertyGrid keyboard navigation.
+
+------- Additional Comments From atsushi at ximian.com  2006-05-31 05:25 -------
+Some interesting points.
+
+- ToolBar does not receive focus when Tab key is pressed down (while
+usual controls should). However it receives focus when the focus is
+passed through the cursor keys.
+
+- On .NET ToolBar receives WM_KEYDOWN when cursor keys are pushed. It
+is not sent for Tab key. (So it looks analogous to DLGC_WANTARROWS.)
+
+Try example below on .NET and Mono. 
+
+using System;
+using System.Windows.Forms;
+
+public class Test : ToolBar//Control
+{
+        public static void Main ()
+        {
+                Form f = new Form ();
+                f.Controls.Add (new Test ());
+                Application.Run (f);
+        }
+
+        protected override void WndProc (ref Message msg)
+        {
+                Console.WriteLine ("{0:X04}", msg.Msg);
+                base.WndProc (ref msg);
+        }
+}
+


More information about the mono-bugs mailing list