[Mono-bugs] [Bug 81408][Nor] New - Pressing ENTER in a single lined textbox adds character

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Apr 20 11:20:27 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 frederik.carlier at ugent.be.


--- shadow/81408	2007-04-20 11:20:27.000000000 -0400
+++ shadow/81408.tmp.19446	2007-04-20 11:20:27.000000000 -0400
@@ -0,0 +1,51 @@
+Bug#: 81408
+Product: Mono: Class Libraries
+Version: 1.0
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: frederik.carlier at ugent.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Pressing ENTER in a single lined textbox adds character
+Description of Problem:
+If you press ENTER in a singleline textbox, an "invisible" character (a
+square box) is added to the text box. 
+This should not happen 
+Steps to reproduce the problem:
+1. Compile this code using gmcs monobug.cs /r:System.Windows.Forms:
+using System.Windows.Forms;
+public class Test
+    public static void Main()
+    {
+        Form form = new Form();
+        form.Controls.Add(new TextBox());
+        form.ShowDialog();
+    }
+2. mono monobug.exe
+3. select the textbox and press ENTER
+Actual Results:
+Square box added to the textbox
+Expected Results:
+Nothing (pressing enter in this cause should do nothing)
+How often does this happen? 
+Additional Information:
+Mono from SVN.

More information about the mono-bugs mailing list