[Mono-bugs] [Bug 77279][Nor] New - RichTextBox.Text value improper during key events

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jan 16 18:50:52 EST 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 simon at nureality.ca.

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

--- shadow/77279	2006-01-16 18:50:52.000000000 -0500
+++ shadow/77279.tmp.15452	2006-01-16 18:50:52.000000000 -0500
@@ -0,0 +1,57 @@
+Bug#: 77279
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: simon at nureality.ca               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: RichTextBox.Text value improper during key events
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+When the key events are fired (KeyDown, KeyPress, KeyUp) by pressing the 
+ENTER key the value of the .Text property is set too early and always 
+contains the new value. Similiar happens with the DEL key.
+
+Steps to reproduce the problem:
+1. Handle the 3 key events
+2. Press keys in the RichTextBox
+3. Output the length of the .Text property in all events
+
+Actual Results:
+When pressing <ENTER> in the RichTextBox I get the results of:
+KEYDOWN: 1
+KEYPRESS: 1
+KEYUP: 1
+
+When hitting the <DEL> key the results of:
+When hitting the <DEL> key the results of:
+KEYDOWN: 0
+KEYPRESS: 0
+KEYUP: 0
+
+Expected Results:
+When pressing <ENTER> in the RichTextBox on .NET I get the results of:
+KEYDOWN: 0
+KEYPRESS: 1
+KEYUP: 1
+
+When hitting the <DEL> key the results of:
+KEYDOWN: 1
+KEYPRESS: 0
+KEYUP: 0
+
+How often does this happen? 
+Every time.
+
+Additional Information:


More information about the mono-bugs mailing list