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=80151 --- shadow/80151 2006-12-08 19:36:12.000000000 -0500 +++ shadow/80151.tmp.11427 2007-01-15 15:23:53.000000000 -0500 @@ -1,22 +1,22 @@ Bug#: 80151 Product: Mono: Class Libraries Version: 1.2 -OS: unknown +OS: Windows XP OS Details: Status: NEW Resolution: Severity: Unknown -Priority: Blocker -Component: Windows.Forms -AssignedTo: [EMAIL PROTECTED] +Priority: Normal +Component: Sys.Drawing. +AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [EMAIL PROTECTED] TargetMilestone: 1_2 URL: -Summary: [Windows - DataGrid] MakeTransparent OutOfMemoryException +Summary: [Windows] Image Stream must be kept alive The lines in DataGrid.cs: - back_button_image.MakeTransparent (Color.Transparent); - parent_rows_button_image.MakeTransparent (Color.Transparent); cause an OutOfMemoryException when doing a new DataGrid () on Windows. The @@ -32,6 +32,19 @@ ------- Additional Comments From [EMAIL PROTECTED] 2006-12-08 19:36 ------- I've commented out the calls in trunk (we released 1.2.2 without them) going to cc sebastien on this one, as it's got to be a weird S.D./gdi interaction with resources. + +------- Additional Comments From [EMAIL PROTECTED] 2007-01-15 15:23 ------- +<shana> spouliot_away: I've stumbled on to a gdi group post where an +MS guy says that the the Stream must stay alive for the life of the +image. +http://groups.google.com/group/microsoft.public.win32.programmer.gdi/browse_thread/thread/4967097db1469a27/4d36385b83532126?lnk=st&q=IStream+gdi&rnum=3&hl=en#4d36385b83532126 +<shana> "If a Bitmap or Image is created from a stream or file or +memory chunk, that that stream or file or memory is "locked" by GDI+ +for the life of the Bitmap or Image. In the case of stream or memory, +you must ensure the stream or memory stay's "alive" for the life of +the Image or Bitmap. " + +-> moving to SD _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
