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 [EMAIL PROTECTED]

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

--- shadow/81153        2007-03-17 18:36:05.000000000 -0500
+++ shadow/81153.tmp.21061      2007-03-20 00:42:02.000000000 -0500
@@ -75,6 +75,17 @@
 MDI window with a custom control in it that paints a list of objects
 with the OnPaint event.
 
 Basically, make two windows (any order) by clicking on the first and
 second buttons, then start messing around with them.  Drawing blows up
 on almost anything you do.
+
+------- Additional Comments From [EMAIL PROTECTED]  2007-03-20 00:42 -------
+(19:02:32) toshok: current thinking: there's some connection made
+between a drawable and a picture either inside the X server or in the
+render code.  when the drawable is destroyed, pictures are implicitly
+destroyed
+(19:02:39) toshok: so the XRenderFreePicture calls fail
+
+the attached patch adds the graphics objects we create via
+Control.CreateGraphics to the Hwnd, and disposes of them when the Hwnd
+is destroyed (in the X case, *before* the window is destroyed).
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to