Object unexpectedly transparent

Post questions on how to use or achieve an effect in Inkscape.
SumnerH
Posts: 4
Joined: Fri Jan 31, 2014 1:32 am

Object unexpectedly transparent

Postby SumnerH » Fri Jan 31, 2014 1:43 am

I've not encountered this problem before: I can't figure out how to make this shape opaque, which is normally the default. Obviously I screwed something up somewhere, but I'm pulling my hair out trying to find it.

You can see that the layer is set to normal mode, opacity 100%. And the object fill is at 255 alpha on a light magenta-ish color--it should be that opaque color from what I can see. But it's masking color through to the background green from a lower layer; hiding the green layer makes it mask to the color of an even lower layer.

Ubuntu 13.10, Inkscape 0.48.4 r9939

The forum is cropping the image, if you left-click it and view the image in another tab you can see the layer and object fill/stroke dialogs to the right:
Image

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Object unexpectedly transparent

Postby Lazur » Fri Jan 31, 2014 2:45 am

Hi.

You mentioned masking -maybe you made a mask for a group of objects on that layer, and
made that object accidentally inside the group, that got masked.
Or the filter you used on it makes it transparent.
Could tell it better if you upload an svg of the problematic part.

SumnerH
Posts: 4
Joined: Fri Jan 31, 2014 1:32 am

Re: Object unexpectedly transparent

Postby SumnerH » Fri Jan 31, 2014 3:32 pm

Here's an SVG exhibiting the problem. http://sumnerhayes.com/static/random/transwhy.svg

There are a couple of strangenesses:

1. The blob (same shape as in the above screenshot) that's offset slightly to the right and down is transparent. It was created by selecting the other blob, copying, selecting the "Mountains" layer, and choosing "Paste in place". However, it pasted in an offset location.
2. It's showing the weird transparency issue.

I'm guessing I'm somehow transforming this stuff elsewhere in the SVG but I've been staring at it for a while now and can't figure it out. Extra eyeballs would be appreciated.

Thanks for your time!

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Object unexpectedly transparent

Postby Lazur » Fri Jan 31, 2014 3:44 pm

Here is how it looks here with no filters display mode:
Image

The used blend filter is making it behave as described, because it is set to multiply.

Also that "ink" layer is in multiply mode, maybe that can cause some troubles too in the future.

SumnerH
Posts: 4
Joined: Fri Jan 31, 2014 1:32 am

Re: Object unexpectedly transparent

Postby SumnerH » Fri Jan 31, 2014 4:29 pm

Thanks, that's crazy. You can duplicate this:
1. Select the other blob (the one in Mountains Bound layer)
2. Copy
3. Select the Mountains layer
4. "Paste in Place"

The pasted version magically gets a blend filter. Is that a bug? The original doesn't have a filter. Also, why isn't the pasted version in the same location as the original--it's offset down and right. I thought "Paste in Place" was supposed to put it in the same location?

Anyway, I can fix that easily by removing the filter after I copy/paste, but it's weird that it has a filter at all.

Thanks for your help on this!

(The Ink layer is in multiply mode on purpose, so that I can eventually use a paper texture and have the whole map look textured.)

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Object unexpectedly transparent

Postby Lazur » Fri Jan 31, 2014 4:37 pm

Maybe that has to do with the ink filter being in multiply mode, thus pasting it adds the filter.
And the filter messes up the bounding box which the placement is calculated upon.
Just guessing.

Have you tried duplicating (Ctrl+D) the object instead, and move it to the other layer with Shift+PgUp?

SumnerH
Posts: 4
Joined: Fri Jan 31, 2014 1:32 am

Re: Object unexpectedly transparent

Postby SumnerH » Fri Jan 31, 2014 4:46 pm

Lazur URH wrote:Maybe that has to do with the ink filter being in multiply mode, thus pasting it adds the filter.
And the filter messes up the bounding box which the placement is calculated upon.
Just guessing.

Have you tried duplicating (Ctrl+D) the object instead, and move it to the other layer with Shift+PgUp?


That keeps it in the proper location, but still adds the filter.

Setting the ink layer to "Normal" fixes both problems (placement and adding of the filter), so it's related to that somehow. Weird. I do want that in Multiply mode eventually, but I can leave it off until the very end.

Thanks again!

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Object unexpectedly transparent

Postby Lazur » Fri Jan 31, 2014 4:50 pm

Cheers!


Return to “Help with using Inkscape”