[Mono-bugs] [Bug 78285][Nor] Changed - Graphics.DrawIcon memory leak ?

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu May 4 16:20:58 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 xenomorph2 at onlinehome.de.

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

--- shadow/78285	2006-05-04 15:40:24.000000000 -0400
+++ shadow/78285.tmp.26869	2006-05-04 16:20:58.000000000 -0400
@@ -70,6 +70,18 @@
 ------- Additional Comments From peter at novonyx.com  2006-05-04 15:40 -------
 I'm gonna rethink some of our icon handling stuff. We have the 
 problem that there are libgdiplus HICON methods we can't support 
 because we handle icons in managed code. Maybe moving it into 
 libgdiplus, and, on Win32, using native methods to read icons might 
 solve the issues.
+
+------- Additional Comments From xenomorph2 at onlinehome.de  2006-05-04 16:20 -------
+Though Peter is already rethinking the Icon stuff, I'm attaching a
+screenshot with the result of a little sample app that draws an icon
+with Graphics.DrawIcon and a bitmap that gets created with
+Icon.ToBitmap in the ctor of the app. 
+
+Basically it calls Graphics.DrawIcon 5000 x 2 times and
+Graphics.DrawImage 5000 x 2 times and both (bottom) once. As you can
+see in the screenshot the results in Windows (vmware) are almost equal
+for DrawIcon and DrawImage but for mono/SD not.
+


More information about the mono-bugs mailing list