69 строки
2.3 KiB
Plaintext
69 строки
2.3 KiB
Plaintext
Type missing problems
|
|
---------------------
|
|
|
|
Property has unknown Type DiaAffine in Object Dia.CanvasItem
|
|
DiaAffine is not a real type, kind of halfish.
|
|
Its realy a double [6] array.
|
|
|
|
Property has unknown Type DiaCanvasItemHandles in Object Dia.CanvasItem
|
|
Defined in diatypes.c and diacanvas.h
|
|
Maybe make a real type in c or make a manual wrapper class in C#
|
|
|
|
================================================================================
|
|
|
|
Crashes
|
|
-------
|
|
|
|
o Select all, then try to move stuff around.
|
|
o Drag the CanvasClock a couple of times.
|
|
o Edit the editable text.
|
|
o Drag the text.
|
|
|
|
================================================================================
|
|
|
|
|
|
Fields which are not what they seem to be
|
|
--------------------------------------------
|
|
|
|
o dia-canvas.h
|
|
DiaCanvasItem *root is realy a DiaCanvasGroup
|
|
o dia-canvas-view.h
|
|
GnomeCanvasItem *handle_layer is realy a DiaHandleLayer
|
|
|
|
================================================================================
|
|
|
|
|
|
Character encoding problem (FIXED)
|
|
----------------------------------
|
|
|
|
When calling DiaPlacementTool (DiaCanvasImage.GType ...) the following error
|
|
occours:
|
|
|
|
(<unknown>:1938): GLib-GObject-WARNING **: gobject.c:663: object class `DiaCanvasImage' has no property named `'
|
|
|
|
(<unknown>:1938): GLib-GObject-WARNING **: gobject.c:663: object class `DiaCanvasImage' has no property named `'
|
|
|
|
(<unknown>:1938): GLib-GObject-WARNING **: gobject.c:663: object class `DiaCanvasImage' has no property named `'
|
|
|
|
(<unknown>:1938): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 389 (gdk_pixbuf_get_height): assertion `pixbuf != NULL' failed
|
|
|
|
(<unknown>:1938): GdkPixbuf-CRITICAL **: file gdk-pixbuf.c: line 373 (gdk_pixbuf_get_width): assertion `pixbuf != NULL' failed
|
|
|
|
** (<unknown>:1938): CRITICAL **: file dia-shape.c: line 1455 (dia_shape_image): assertion `GDK_IS_PIXBUF (image)' failed
|
|
|
|
Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required
|
|
in (unmanaged) 06 Gtk.Application:gtk_main ()
|
|
in <0x00004> 06 Gtk.Application:gtk_main ()
|
|
in <0x00007> 00 Gtk.Application:Run ()
|
|
in <0x0002b> 00 .Sample:Main ()
|
|
|
|
It probably is a character encoding problem from Uni16 to utf-8/ascii.
|
|
|
|
************
|
|
* Solution *
|
|
************
|
|
|
|
Marshal.StringToHGlobalAnsi ("string")
|
|
|
|
================================================================================
|