Author Topic: Bug with svg display  (Read 502 times)

November 30, 2018, 02:54:23 AM
Read 502 times

pav5000

  • Sr. Newbie

  • Offline
  • **

  • 2
Trying to edit this file with Inkscape. It can be successfully opened in browser and in standard Ubuntu image viewer but Inkscape shows just blue rectangle  :(
Could anybody open it with Inkscape? Is it just an error of my setup or the global Inkscape bug?

Ubuntu 16.04
Inkscape 0.92.3
  • 0.92.3
  • Ubuntu 16.04

November 30, 2018, 04:15:43 AM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

All I can see in the file is the blue rectangle.  But there are other things in the file.  I'm not sure why they aren't visible.  Possibly because they are masked with clones, although I'm not sure if that's why.  Oh, well the clones have Unset fill and stroke.  And I'm guessing, it's the unset fill which makes them not visible.

You could try:

1 - Release the mask
2 - Change the fill and stroke of the masking path
3 - Re-set the mask

However, I'm not sure why a mask is being used in this case.  The reason to use a mask is so that you can vary the visiblity of the objects under the mask.  If that's what you want to do, you definitely should change the color and/or opacity of the masking path.  Otherwise, probably clipping is more appropriate.  In my test, using clipping made the objects visible, without changing the fill/stroke color.

Hint #1 - When you select something with the Selection tool, you can look at the status bar to find out what kind of object it is.  That can help you figure out what to do next.
Hint #2 - You can use the Tab key to select one object at a time.  It even selects invisible objects.

Let me know if you need further hints  :)
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

November 30, 2018, 04:36:35 AM
Reply #2

pav5000

  • Sr. Newbie

  • Offline
  • **

  • 2
Thanks for your reply!

However, I'm not sure why a mask is being used in this case.  The reason to use a mask is so that you can vary the visiblity of the objects under the mask.  If that's what you want to do, you definitely should change the color and/or opacity of the masking path.  Otherwise, probably clipping is more appropriate.  In my test, using clipping made the objects visible, without changing the fill/stroke color.

This file was exported from some vector editing software. I don't know which one.
My main concern about it is that all viewers that I tried (Chrome, Firefox, Ubuntu image viewer) display the file correctly. Only Inkscape fails.
Should I report a bug to developers?

I attached the image how Chrome renders this file.
  • 0.92.3
  • Ubuntu 16.04

November 30, 2018, 06:33:24 AM
Reply #3

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
I don't know whether it would be considered a bug or not.  Thinking of the fact that for a mask to work, the fill must be something very specific, and the fact that in this file, the fill is Unset (to my knowledge, not one of those specific things), and altogether with the fact that the mask isn't working for Inkscape, it doesn't seem to be a bug to me.  I'm not surprised that the mask doesn't work in Inkscape.

Someone else here may know whether it would be a bug.  And if none of us can figure it out, we'll bump it up to developers to sort out.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann