[Mono-bugs] [Bug 78946][Nor] New - Mouse selection in ComboBox is broken.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jul 25 11:02:08 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 monkey at jpobst.com.


--- shadow/78946	2006-07-25 11:02:08.000000000 -0400
+++ shadow/78946.tmp.14243	2006-07-25 11:02:08.000000000 -0400
@@ -0,0 +1,60 @@
+Bug#: 78946
+Product: Mono: Class Libraries
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: monkey at jpobst.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Mouse selection in ComboBox is broken.
+Description of Problem:
+Clicking in the textbox of a standard combobox begins selection highlight
+mode, but releasing the mouse button does not terminate selection highlight
+mode.  (Tested on Windows).
+Steps to reproduce the problem:
+1. Compile the program below.
+2. Run the program below.
+3. Click (and release) between the 2 p's in "Apple".
+4. Move the mouse to the left and right, the text will still highlight even
+though the mouse button is not pressed.
+Actual Results:
+The text will highlight (be selected) even though the mouse button is not
+currently pressed.
+Expected Results:
+The text should not highlight.
+How often does this happen? 
+Additional Information:
+using System;
+using System.Windows.Forms;
+public class Test : Form
+	public static void Main ()
+	{
+		Application.Run (new Test ());
+	}
+	public Test ()
+	{
+		ComboBox cb = new ComboBox ();
+		cb.DropDownStyle = ComboBoxStyle.DropDown;
+		cb.DataSource = new string [] {"Apple", "Banana", "Cherry", "Donuts",
+"Eggs", "Fish"};
+		Controls.Add (cb);
+	}

More information about the mono-bugs mailing list