[Mono-bugs] [Bug 81616][Maj] New - CheckBox controls stealing characters when they shouldn't

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon May 14 10:24:04 EDT 2007


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 dan.maser at inin.com.

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

--- shadow/81616	2007-05-14 10:24:04.000000000 -0400
+++ shadow/81616.tmp.30726	2007-05-14 10:24:04.000000000 -0400
@@ -0,0 +1,51 @@
+Bug#: 81616
+Product: Mono: Class Libraries
+Version: 1.2
+OS: RHEL 2.1
+OS Details: RHEL WS 4, kernel 2.6.9-42 on i686 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: Dan.Maser at inin.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: CheckBox controls stealing characters when they shouldn't
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+  I have a form with a textbox and some checkboxes.  The checkboxes have 
+accel keys assigned (their text is "some &text" with the ampersand to 
+defind the hot key).   If I type a character in the textbox that is also 
+an accel key for one of the checkboxes then that checkbox 'steals' the 
+key.  If I type a key that is not also an accel key then it goes to the 
+texbox normally.  This is without hitting Alt or any other modifier key.
+This is on mono/linux with the latest svn head revision as of 05/14/07
+
+
+Steps to reproduce the problem:
+1. run my attached test program
+2. double-click on of the lines in the listbox, which brings up my dialog.
+3. if you type 'e', 'i', or 's' in the textbox control the letter WILL 
+NOT appear in the text box, but instead it will toggle the matching 
+checkbox.  Typing any other key works properly.
+
+Actual Results:
+ Keys that are also accel keys for checkboxes get 'stolen' by those 
+checkboxes.
+
+Expected Results:
+  Only when pressing "Alt+key" should the checkbox steal the key.
+
+
+How often does this happen? 
+  Every time
+
+Additional Information:
+   Test project attached.  This is on linux using latest svn head 
+revision from 05/14/07.


More information about the mono-bugs mailing list