Inkscape Community
Help Using Inkscape => Inkscape Beginners' Questions => Topic started by: pav5000 on November 30, 2018, 02:54:23 AM
-
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
-
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 :)
-
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.
-
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.