[Mono-bugs] [Bug 81178][Nor] Changed - Metafile does not render

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Aug 9 11:53:19 EDT 2007


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 gert.driesen at pandora.be.

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

--- shadow/81178	2007-04-17 15:52:05.000000000 -0400
+++ shadow/81178.tmp.21444	2007-08-09 11:53:19.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 81178
 Product: Mono: Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: CLOSED   
+Status: REOPENED   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: libgdiplus
 AssignedTo: sebastien at ximian.com                            
 ReportedBy: jackson at ximian.com               
@@ -125,6 +125,62 @@
 the metafile) is rendered correctly. Note that it's still possible
 that other metafiles will use different (and unimplemented) record
 types to show pictures.
 
 The NRE exception still occurs when moving the caret up-n-down (but
 that's outside this bug scope).
+
+------- Additional Comments From gert.driesen at pandora.be  2007-08-09 11:53 -------
+This now fails on Windows with the following error:
+
+Unhandled Exception: System.ArgumentException: A null reference or 
+invalid value was found [GDI+ status: InvalidParameter] at 
+System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status) <0x0011a>
+at System.Drawing.Image.InitFromStream (System.IO.Stream) <0x001ac>
+at System.Drawing.Image.LoadFromStream (System.IO.Stream,bool) 
+<0x0001c>
+at System.Drawing.Image.FromStream (System.IO.Stream) <0x0000c>
+at System.Windows.Forms.RTF.Picture.ToImage () <0x0000d>
+at System.Windows.Forms.RTF.Picture.DrawImage 
+(System.Drawing.Graphics,single,single,bool) <0x00022>
+at System.Windows.Forms.PictureTag.Draw 
+(System.Drawing.Graphics,System.Drawing.Brush,single,single,int,int,st
+ring) <0x00044>
+at System.Windows.Forms.Document.Draw 
+(System.Drawing.Graphics,System.Drawing.Rectangle) <0x014b8>
+at System.Windows.Forms.TextBoxBase.OnPaintInternal 
+(System.Windows.Forms.PaintEventArgs) <0x001fd>
+at System.Windows.Forms.Control.WmPaint 
+(System.Windows.Forms.Message&) <0x00103>
+at System.Windows.Forms.Control.WndProc 
+(System.Windows.Forms.Message&) <0x00165>
+at System.Windows.Forms.TextBoxBase.WndProc 
+(System.Windows.Forms.Message&) <0x002fc>
+at System.Windows.Forms.RichTextBox.WndProc 
+(System.Windows.Forms.Message&) <0x0000d>
+at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&) 
+<0x00014>
+at ControlNativeWindow.WndProc (System.Windows.Forms.Message&) 
+<0x00022>
+at System.Windows.Forms.NativeWindow.WndProc 
+(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0015c>
+at System.Windows.Forms.XplatUIWin32.InternalWndProc 
+(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00046>
+at (wrapper native-to-managed) 
+System.Windows.Forms.XplatUIWin32.InternalWndProc 
+(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0004d>
+in (unmanaged) 7E418733
+at (wrapper managed-to-native) 
+System.Windows.Forms.XplatUIWin32.Win32DispatchMessage 
+(System.Windows.Forms.MSG&) <0x00004>
+at System.Windows.Forms.XplatUIWin32.DispatchMessage 
+(System.Windows.Forms.MSG&) <0x0000a>
+at System.Windows.Forms.XplatUI.DispatchMessage 
+(System.Windows.Forms.MSG&) <0x00015>
+at System.Windows.Forms.Application.RunLoop 
+(bool,System.Windows.Forms.ApplicationContext) <0x008f8>
+at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) 
+<0x00024>
+at MainForm.Main () <0x0001f>
+
+See directory "interactive/bug81178" in module "gert" in SVN for a 
+complete repro.


More information about the mono-bugs mailing list