[Mono-bugs] [Bug 78607][Nor] New - [PATCH] CheckBox and RadioButton does not show focus
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Thu Jun 29 16:48:34 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 xenomorph2 at onlinehome.de.
http://bugzilla.ximian.com/show_bug.cgi?id=78607
--- shadow/78607 2006-06-29 16:48:34.000000000 -0400
+++ shadow/78607.tmp.24198 2006-06-29 16:48:34.000000000 -0400
@@ -0,0 +1,57 @@
+Bug#: 78607
+Product: Mono: Class Libraries
+Version: 1.1
+OS: unknown
+OS Details:
+Status: NEW
+Resolution:
+Severity: Unknown
+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: [PATCH] CheckBox and RadioButton does not show focus
+
+Mono (as well as .NET) draws dash line border on focused Button control and
+ListView. The same should apply to CheckBox and RadioButton like:
+
+- - - - - - - - -
+|O| foo |
+- - - - - - - - -
+ O bar
+ O baz
+
+Run swf-checkboxes.exe and/or swf-radiobuttons.exe on both mono and .NET,
+and see how it makes the whole UI easy to understand.
+
+------- Additional Comments From atsushi at ximian.com 2006-06-08 04:25 -------
+CheckedListBox as well.
+
+------- Additional Comments From atsushi at ximian.com 2006-06-13 00:21 -------
+Created an attachment (id=17167)
+proposed fix for CheckBox and RadioButton
+
+
+------- Additional Comments From atsushi at ximian.com 2006-06-13 00:28 -------
+Turned out that the situation is different for CheckedListBox. When no
+item is selected in a CheckedListBox, it draws a fake focus dash
+rectangle on the first item. (On .NET swf-checkedlistboxes.exe shows
+only one item in a box for almost all boxes and thus it looked like as
+if the box itself drew the focus.)
+
+------- Additional Comments From xenomorph2 at onlinehome.de 2006-06-29 16:48 -------
+The problem is that the button (buttonbase, control?) code doesn't
+handle focus correctly.
+
+Clicking a button doesn't mean that it receives focus as mwf does it.
+Focused is only true if you use the tab key (at least once) to focus a
+button. After that, Focused is always true.
+
+You can reproduce that by running the swf-buttons example on windows
+(swf). Click a button, no focus rectangle is drawn. Use the tab key
+once, focus rectangle is visible and clicking an other button after
+that and the focus rectangle gets still drawn.
More information about the mono-bugs
mailing list