Line disappears when applying drop shadow

Post questions on how to use or achieve an effect in Inkscape.
dryphi
Posts: 15
Joined: Fri Mar 27, 2015 6:47 am

Line disappears when applying drop shadow

Postby dryphi » Fri Mar 27, 2015 6:50 am

Hi, I'm attempting to apply a drop shadow to a box with a cross through it. When I select the box and add the shadow it looks great. However when I have either line selected and attempt to add the drop shadow, the line basically disappears. I tried all the options in the drop shadow pane. What am I doing wrong?
FYI both lines are bezier curves (afaik this is the only way to draw a straight line).
Thanks

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

Re: Line disappears when applying drop shadow

Postby Lazur » Fri Mar 27, 2015 6:59 am

Hi.

Technically the difference between those is that the sraight line segment is probably an open path with a stroke and no fill,
while the other has a closed area.

A general way to avoid problems with filters is to group the object first, and then apply the filter to the group itself.
This can make a good use when you want to transform the shape without transforming -like scaling- the filter effect.

I haven't tried it with the mentioned filter but think it will work.

dryphi
Posts: 15
Joined: Fri Mar 27, 2015 6:47 am

Re: Line disappears when applying drop shadow

Postby dryphi » Fri Mar 27, 2015 7:13 am

Yes that does seem to work. Thank you!
Now I'm having another problem however. I already saved the previous version; now when I reopen, how do I remove the previous drop shadow that was just around the box?
Thanks

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

Re: Line disappears when applying drop shadow

Postby Lazur » Fri Mar 27, 2015 7:22 am

At the bottom of the filter list there is a remove filters option.

And it may be a good idea to vacuum defs/clean document (file menu) after.

dryphi
Posts: 15
Joined: Fri Mar 27, 2015 6:47 am

Re: Line disappears when applying drop shadow

Postby dryphi » Fri Mar 27, 2015 7:28 am

Perfect. Thank you.

Lazur URH wrote:And it may be a good idea to vacuum defs/clean document (file menu) after.

What does that do?

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

Re: Line disappears when applying drop shadow

Postby Lazur » Fri Mar 27, 2015 7:59 am

Filters, gradients, custom markers, path effects, clipping masks are stored outside an object, so that you can apply the same setting for more objects.
If you remove the filter being used from the object, it may still be there -can check in the filter editor for example-.
That option deletes these unused parts of the document in the <defs> section.

dryphi
Posts: 15
Joined: Fri Mar 27, 2015 6:47 am

Re: Line disappears when applying drop shadow

Postby dryphi » Fri Mar 27, 2015 8:04 am

Good to know, thanks!

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

Re: Line disappears when applying drop shadow

Postby Lazur » Fri Mar 27, 2015 8:07 am

You are welcome!


Return to “Help with using Inkscape”