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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Apr 4 10:57:07 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 sebastien at ximian.com.

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

--- shadow/81178	2007-04-04 09:55:35.000000000 -0400
+++ shadow/81178.tmp.9852	2007-04-04 10:57:07.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 81178
 Product: Mono: Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: libgdiplus
 AssignedTo: sebastien at ximian.com                            
 ReportedBy: jackson at ximian.com               
@@ -48,6 +48,72 @@
 information diverges. I may have to duplicate headers so we return MS
 GDI+ compatible values while we use "valid" values to process metafiles.
 
 All this is probable due to the fact that GDI+ doesn't do itself a lot
 wrt metafiles (and even less correct stuff) and only delegates that
 stuff at GDI. However that doesn't explains codec signature mishandling :|
+
+------- Additional Comments From sebastien at ximian.com  2007-04-04 10:57 -------
+The first part (recognize non-placeable WMF) is in SVN r75384.
+
+At this stage you should see a frame where the image will be drawn.
+The frame doesn't look to be at the right place (as it contains the
+text). Does the RFT code works on Windows (using this sample) ?
+
+I also get a NRE when clicking on the image using
+mono --debug wordpad.exe 81178.rtf
+font height:  12
+CREATING IMAGE:  66282
+StretchDIBits
+        [XDest 0, YDest 0, nDestWidth 438, nDestHeight 150]
+        [XSrc 0, YSrc 0, nSrcWidth 438, nSrcHeight 150]
+        lpBits 0x86834cc, lpBitsInfo 0x8682dec, iUsage 0, dwRop 13369376
+        BITMAPINFO
+                Size: 40
+                Width: 438
+                Height: 150
+                Planes: 1
+                BitCount: 8
+                Compression: 0
+                SizeImage: 66000
+                XPelsPerMeter: 2834
+                YPelsPerMeter: 2834
+                ClrUsed: 29
+System.NullReferenceException: Object reference not set to an instance
+of an object
+  at System.Windows.Forms.Document.PositionCaret (Int32 x, Int32 y)
+[0x00035] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextControl.cs:1555
+  at System.Windows.Forms.TextBoxBase.TextBoxBase_MouseDown
+(System.Object sender, System.Windows.Forms.MouseEventArgs e)
+[0x00010] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs:1468
+  at (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_MouseEventArgs
+(object,System.Windows.Forms.MouseEventArgs)
+  at System.Windows.Forms.Control.OnMouseDown
+(System.Windows.Forms.MouseEventArgs e) [0x0001c] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:5479
+  at System.Windows.Forms.Control.WmLButtonDown
+(System.Windows.Forms.Message& m) [0x0001a] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4839
+  at System.Windows.Forms.Control.WndProc
+(System.Windows.Forms.Message& m) [0x0016e] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4598
+  at System.Windows.Forms.TextBoxBase.WndProc
+(System.Windows.Forms.Message& m) [0x001cc] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs:1310
+  at System.Windows.Forms.RichTextBox.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/RichTextBox.cs:1112
+  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:222
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:203
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x0006b] in
+/home/poupou/svn/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:179
+                ClrImportant: 29poupou at pollux:~/svn/winforms/wordpad>
+
+


More information about the mono-bugs mailing list