[Mono-bugs] [Bug 77824][Nor] Changed - im: crash when calling PaintEventArgs.Graphics.Transform in OnPaint()

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon May 22 18:04:53 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 peter at novonyx.com.


--- shadow/77824	2006-05-22 18:03:35.000000000 -0400
+++ shadow/77824.tmp.32131	2006-05-22 18:04:53.000000000 -0400
@@ -254,6 +254,11 @@
 The problem is that just creating new PaintEventArgs is not really 
 legal, even on MS. If the GC on MS were to kick in at the right time, 
 the graphics object would be disposed there, too, and the app would 
 crash. Since we reuse our graphics object it just is more obvious on 
+------- Additional Comments From peter at novonyx.com  2006-05-22 18:04 -------
+Created an attachment (id=17085)
+testcode showing that MS doesn't like GCd paint events either

More information about the mono-bugs mailing list