[Mono-bugs] [Bug 77734][Nor] Changed - [PATCH] Graphics.Transform isn't resetted between calls to Paint

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 17 17:47:00 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 sebastien at ximian.com.

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

--- shadow/77734	2006-05-16 02:58:17.000000000 -0400
+++ shadow/77734.tmp.7059	2006-05-17 17:47:00.000000000 -0400
@@ -157,6 +157,23 @@
 Attaching a fix.
 
 ------- Additional Comments From atsushi at ximian.com  2006-05-16 02:58 -------
 Created an attachment (id=17035)
 proposed fix
 
+
+------- Additional Comments From sebastien at ximian.com  2006-05-17 17:46 -------
+I'm not sure the patch is correct - even if I suggested this kind of
+fix ;-)
+
+Another bug (77824) made me think of a similar problem I just had with
+the Pen class. When the instance gets disposed any further call get's
+a NULL pointer. This is the only case I know where #77824 could get
+that error message.
+
+** (<unknown>:13508): CRITICAL **: GdipGetWorldTransform: assertion
+'graphics != NULL' failed
+
+So I did a little change in the original test case to see if the same
+Graphics was being reused - and it's not (a new instance is used each
+time). This means anyone disposing it will break it's app under Mono,
+but will execute correctly under MS runtime.


More information about the mono-bugs mailing list