[Mono-bugs] [Bug 79968][Nor] New - ComboBox: X11 BadMatch error when switching between dropdown styles

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Nov 18 11:47:26 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 gert.driesen at pandora.be.

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

--- shadow/79968	2006-11-18 11:47:26.000000000 -0500
+++ shadow/79968.tmp.23656	2006-11-18 11:47:26.000000000 -0500
@@ -0,0 +1,68 @@
+Bug#: 79968
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ComboBox: X11 BadMatch error when switching between dropdown styles
+
+If you switch a few times between different dropdown styles for a 
+ComboBox, then the following X11 error is reported in the console:
+
+X11 Error encountered: 
+  Error: BadMatch (invalid parameter attributes)
+  Request:     12 (X_ConfigureWindow)
+  Resource ID: 0x1A00258
+  Serial:      3140
+  Hwnd:        Hwnd, Mapped:True ClientWindow:0x1A00259, 
+WholeWindow:0x1A00258, Parent:[<null>]
+  Control:     <handle 27263577 non-existant>
+	 at System.Windows.Forms.XplatUIX11.WhereString ()
+	 at System.Windows.Forms.XplatUIX11.HandleError ()
+	 at System.Windows.Forms.XplatUIX11.HandleError ()
+	 at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux ()
+	 at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux ()
+	 at System.Drawing.Graphics.FromXDrawable ()
+	 at System.Drawing.Graphics.FromHwnd ()
+	 at System.Windows.Forms.XplatUIX11.PaintEventStart ()
+	 at System.Windows.Forms.XplatUI.PaintEventStart ()
+	 at System.Windows.Forms.Control.WndProc ()
+	 at System.Windows.Forms.ComboBox.WndProc ()
+	 at System.Windows.Forms.Control+ControlNativeWindow.WndProc ()
+	 at System.Windows.Forms.NativeWindow.WndProc ()
+	 at System.Windows.Forms.XplatUIX11.SendMessage ()
+	 at System.Windows.Forms.XplatUIX11.UpdateWindow ()
+	 at System.Windows.Forms.XplatUI.UpdateWindow ()
+	 at System.Windows.Forms.Control.Refresh ()
+	 at System.Windows.Forms.ComboBox.set_DropDownStyle ()
+	 at MainForm.DropDownListRadioButton_CheckedChanged ()
+	 at System.MulticastDelegate.invoke_void_object_EventArgs ()
+	 at System.Windows.Forms.RadioButton.OnCheckedChanged ()
+	 at System.Windows.Forms.RadioButton.set_Checked ()
+	 at System.Windows.Forms.RadioButton.OnClick ()
+	 at System.Windows.Forms.ButtonBase.OnMouseUp ()
+	 at System.Windows.Forms.RadioButton.OnMouseUp ()
+	 at System.Windows.Forms.Control.WndProc ()
+	 at System.Windows.Forms.ButtonBase.WndProc ()
+	 at System.Windows.Forms.Control+ControlNativeWindow.WndProc ()
+	 at System.Windows.Forms.NativeWindow.WndProc ()
+	 at System.Windows.Forms.XplatUIX11.DispatchMessage ()
+	 at System.Windows.Forms.XplatUI.DispatchMessage ()
+	 at System.Windows.Forms.Application.DispatchMessage ()
+	 at System.Windows.Forms.Application.RunLoop ()
+	 at System.Windows.Forms.Application.Run ()
+	 at MainForm.Main ()
+
+To reproduce:
+1. compile and run the attached code snippet.
+2. follow the on-screen instructions in tab #1.


More information about the mono-bugs mailing list