[Mono-bugs] [Bug 77908][Min] New - nunit-gui: X11 BadDrawable error when closing About Unit dialog box

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Mar 25 05:00:42 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=77908

--- shadow/77908	2006-03-25 05:00:42.000000000 -0500
+++ shadow/77908.tmp.9489	2006-03-25 05:00:42.000000000 -0500
@@ -0,0 +1,139 @@
+Bug#: 77908
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: Windows.Forms
+AssignedTo: peter at novonyx.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: nunit-gui: X11 BadDrawable error when closing About Unit dialog box
+
+When I click the OK button in the About NUnit dialog box, the following
+output is written to the console:
+
+Mono System.Windows.Forms Assembly [$auto_build_revision$]
+Keyboard: Belgian keyboard layout
+Gtk colorscheme read
+Setting transient:  1
+Setting transient:  1
+X11 Error encountered:
+  Error: BadDrawable (invalid Pixmap or Window parameter)
+  Request:     14 (X_GetGeometry)
+  Resource ID: 0x2200764
+  Serial:      13270
+  Hwnd:        Hwnd, ClientWindow:0x2200764, WholeWindow:0x2200763,
+Parent:[Hwn$  Control:     System.Windows.Forms.Button, Text: OK
+         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.ButtonBase.WndProc ()
+         at System.Windows.Forms.Button.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.RunLoop ()
+         at System.Windows.Forms.Application.Run ()
+         at NUnit.Gui.AppEntry.Main ()
+         at NUnit.Gui.Class1.Main ()
+
+X11 Error encountered:
+  Error: BadDrawable (invalid Pixmap or Window parameter)
+  Request:     151 (151)
+  Resource ID: 0x2200764
+  Serial:      13278
+  Hwnd:        <null>
+  Control:     <null>
+         at System.Windows.Forms.XplatUIX11.WhereString ()
+         at System.Windows.Forms.XplatUIX11.HandleError ()
+         at System.Windows.Forms.XplatUIX11.HandleError ()
+         at System.Windows.Forms.XplatUIX11.XPending ()
+         at System.Windows.Forms.XplatUIX11.XPending ()
+         at System.Windows.Forms.XplatUIX11.UpdateMessageQueue ()
+         at System.Windows.Forms.XplatUIX11.GetMessage ()
+         at System.Windows.Forms.XplatUI.GetMessage ()
+         at System.Windows.Forms.Application.RunLoop ()
+         at System.Windows.Forms.Application.Run ()
+         at NUnit.Gui.AppEntry.Main ()
+         at NUnit.Gui.Class1.Main ()
+X11 Error encountered:
+  Error: RenderBadPicture (invalid Picture parameter)
+  Request:     151 (151)
+  Resource ID: 0x220081F
+  Serial:      13279
+  Hwnd:        <null>
+  Control:     <null>
+         at System.Windows.Forms.XplatUIX11.WhereString ()
+         at System.Windows.Forms.XplatUIX11.HandleError ()
+         at System.Windows.Forms.XplatUIX11.HandleError ()
+         at System.Windows.Forms.XplatUIX11.XPending ()
+         at System.Windows.Forms.XplatUIX11.XPending ()
+         at System.Windows.Forms.XplatUIX11.UpdateMessageQueue ()
+         at System.Windows.Forms.XplatUIX11.GetMessage ()
+         at System.Windows.Forms.XplatUI.GetMessage ()
+         at System.Windows.Forms.Application.RunLoop ()
+         at System.Windows.Forms.Application.Run ()
+         at NUnit.Gui.AppEntry.Main ()
+         at NUnit.Gui.Class1.Main ()
+
+X11 Error encountered:
+  Error: RenderBadPicture (invalid Picture parameter)
+  Request:     151 (151)
+  Resource ID: 0x220081F
+  Serial:      13280
+  Hwnd:        <null>
+  Control:     <null>
+         at System.Windows.Forms.XplatUIX11.WhereString ()
+         at System.Windows.Forms.XplatUIX11.HandleError ()
+         at System.Windows.Forms.XplatUIX11.HandleError ()
+         at System.Windows.Forms.XplatUIX11.XPending ()
+         at System.Windows.Forms.XplatUIX11.XPending ()
+         at System.Windows.Forms.XplatUIX11.UpdateMessageQueue ()
+         at System.Windows.Forms.XplatUIX11.GetMessage ()
+         at System.Windows.Forms.XplatUI.GetMessage ()
+         at System.Windows.Forms.Application.RunLoop ()
+         at System.Windows.Forms.Application.Run ()
+         at NUnit.Gui.AppEntry.Main ()
+         at NUnit.Gui.Class1.Main ()
+
+X11 Error encountered:
+  Error: RenderBadPicture (invalid Picture parameter)
+  Request:     151 (151)
+  Resource ID: 0x220081F
+  Serial:      13284
+  Hwnd:        <null>
+  Control:     <null>
+         at System.Windows.Forms.XplatUIX11.WhereString ()
+         at System.Windows.Forms.XplatUIX11.HandleError ()
+         at System.Windows.Forms.XplatUIX11.HandleError ()
+         at System.Windows.Forms.XplatUIX11.XPending ()
+         at System.Windows.Forms.XplatUIX11.XPending ()
+         at System.Windows.Forms.XplatUIX11.UpdateMessageQueue ()
+         at System.Windows.Forms.XplatUIX11.GetMessage ()
+         at System.Windows.Forms.XplatUI.GetMessage ()
+         at System.Windows.Forms.Application.RunLoop ()
+         at System.Windows.Forms.Application.Run ()
+         at NUnit.Gui.AppEntry.Main ()
+         at NUnit.Gui.Class1.Main ()
+
+To reproduce:
+
+- Start NUnit GUI 2.2.7.
+- Click "Help" menu.
+- Select "About NUnit".
+- Click "OK".


More information about the mono-bugs mailing list