Strange problem with exported from TouchDraw layered SVG

Post questions on how to use or achieve an effect in Inkscape.
gmureddu
Posts: 3
Joined: Thu Aug 14, 2014 10:26 am

Strange problem with exported from TouchDraw layered SVG

Postby gmureddu » Thu Aug 14, 2014 11:35 am

Hi all!
First off, I did search the forums for a similar inquiry as mine, with no results.

What my problem is:

I created a series of paths on my tablet on the go with the TouchDraw appication from elvenworks (http://www.elvenworks.com/touchdraw/android). For simplicity reasons, I created the paths in layers within the application, when finished I exported to SVG and shared through Google Drive. I then opened the exported file in Inkscape on a Mac compiter running Mountain Lion and XQuartz. To my surprise, the file did open, with all the layers properly identified, but only the bottom portion of a reduced drawing area visible. Selecting the different objects and dragging them to that area I am able to see them, but oddly enough if I copy them to a new drwing, the outline of the selection is visible, but no actual object is visible. If I deselect the object(s) I am able to select again the contents of the new canvas with ctrl+a. I'm at a loss, I do not know what to do now... I will test in another machine, my Linux worstation at home later tonight (Fedora 20 x86_64, Inkscape 0.48). Any pointers?

TIA!

Edit

A few updates:

  1. I have the same problem in my Linux workstation at home with Inkscape version 0.48.5 r10040.
  2. Oddly enough, the thumbnails in my file-managers (Nautilus and Nemo) and the preview in Google Drive from both Firefox and Google Chrome are good-enough "correct", as well as opening the image in eye of the gnome and shotwell. I can even import the image into GIMP and it renders pretty much the same as in the other applications, save Inkscape.
  3. The actual viewable area is apparently set to the same size as the last selected path when the image was exported, but when I drag the paths there, I can actually see all paths in their full size (as if the different paths had a different viewable area size, offset to the position of the "canvas" (by now, I'm not sure the canvas is being treated as such) where I can actually see them, bottom left corner).

I'm rather intrigued as why the other programs can display all the shapes in the image, with the correct size, but Inkscape can't. I tried having a look at the XML editor to try and find out what's preventing the paths from being displayed... I tried moving all objects out of their layers into a common layer, deleting the others, to no avail. I have attached two screenshots of how GIMP imports the image (a shape is actually cut-off and lacks the dropshadow, which should have, but that's the least of my problems right now; I know, I could have simply export to .png in GIMP, but thoguht of showing off how do I actually "see" it), and how Inkscape displays it, as well as the file in question itself.
Attachments
offending_file.svg
The "accused"
(3.71 KiB) Downloaded 159 times
GIMP_display_of_offending_svg.png
How GIMP displays the file
GIMP_display_of_offending_svg.png (73.83 KiB) Viewed 1777 times
Inkscape_layers_wrong_display.png
Image in question as displayed in Inkscape
Inkscape_layers_wrong_display.png (6.15 KiB) Viewed 1777 times
Last edited by gmureddu on Thu Aug 14, 2014 12:15 pm, edited 2 times in total.

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: Strange problem with exported from TouchDraw layered SVG

Postby hulf2012 » Thu Aug 14, 2014 12:04 pm

Hello,
It could be of great help that you could upload a sample file with the problem.
Right now, i can only guess:
- The drawing has a cliping path, or a mask path
- The viewvport is too small or is not aligned
- ???

So, just upload the svg. In this forum you can upload it packed in a zip file, or as a link in dropbox, skydrive, googledrive etc.
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

gmureddu
Posts: 3
Joined: Thu Aug 14, 2014 10:26 am

Re: Strange problem with exported from TouchDraw layered SVG

Postby gmureddu » Thu Aug 14, 2014 12:06 pm

Sorry, I was editing the post to include these, as the first one I did on-the-go, there are the files. Thank you!

Second Edit

By moving all the objects to a different canvas or even a layer within the offending SVG, nothing is shown, and now there is no "viewable area" anywhere, so what I thought to be a problem when copying to another drawing, also happens inside the same drawing.

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: Strange problem with exported from TouchDraw layered SVG

Postby hulf2012 » Thu Aug 14, 2014 12:53 pm

The problem happens because you are using filters. You are using them with the dropshadow effect of your shapes.

Also note that even that gimp's screenshoot is not displaying one of your shapes correctly (the shape at the top -right). On Firefox and Chrome is the same problem.

To understand more about how the filters works on Inkscape see here:

http://tavmjong.free.fr/INKSCAPE/MANUAL ... reset.html

Attachments
offending_file2.svg
(5.93 KiB) Downloaded 162 times
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

gmureddu
Posts: 3
Joined: Thu Aug 14, 2014 10:26 am

Re: Strange problem with exported from TouchDraw layered SVG

Postby gmureddu » Thu Aug 14, 2014 1:23 pm

I'm testing your file now. TouchDraw did the dropshadow filters automatically. Now that I remember, the shape not displaying correctly was problematic, as I had to manually ajust the shadow offset in TochDraw for it to display correctly (downwards). I'm reading up on filters as I write this, thank you very much!


Return to “Help with using Inkscape”