[Mono-bugs] [Bug 79492][Wis] New - TextBox recognizes doubleclicks wrongly

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 25 10:56:43 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 kuba.brecka at gmail.com.

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

--- shadow/79492	2006-09-25 10:56:43.000000000 -0400
+++ shadow/79492.tmp.867	2006-09-25 10:56:43.000000000 -0400
@@ -0,0 +1,57 @@
+Bug#: 79492
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: kuba.brecka at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: TextBox recognizes doubleclicks wrongly
+
+Reproduce:
+1. Run the following code.
+2. Click somewhere in the left half of the TextBox, then immediately
+somewhere in the right half of the TextBox.
+3. No matter where you click, if the two clicks are quick enough, the
+TextBox treats them as a double-click.
+
+Actual results:
+No matter where you click, if the two clicks are quick enough, the TextBox
+treats them as a double-click.
+
+Expected results:
+Only when two clicks are made on the same place, they should be treated as
+a double-click.
+
+using System;
+using System.Windows.Forms;
+
+namespace MonoTest27
+{
+    public class Form1 : Form
+    {
+        static void Main()
+        {
+            Application.Run(new Form1());
+        }
+
+        public Form1()
+        {
+            TextBox T = new TextBox();
+            T.Font = new
+System.Drawing.Font(System.Drawing.FontFamily.GenericSerif, 20);
+            T.Width = 200;
+            T.Text = "abcdefghijkl";
+
+            Controls.Add(T);
+        }
+    }
+}


More information about the mono-bugs mailing list