Drop Shadows not working

Post questions on how to use or achieve an effect in Inkscape.
cleversomeday
Posts: 62
Joined: Tue Jan 19, 2010 6:52 am

Drop Shadows not working

Postby cleversomeday » Tue Apr 12, 2016 5:00 am

I am having an issue with Drop Shadows not working in Inkscape .91 on an OS 10.7.6 Mac. The drop shadows act like they work, the info bar shows the object as filtered, but there is no shadow on the screen. It is as if it is in no filters view mode but it is not. The shadows do not live preview or export as png either.
I have compared all the filter settings to my laptop that works, and they are the same. I feel like I must be missing an opacity or something somewhere but I can't find it. Anybody have suggestions?
Thanks,
-Kay

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Drop Shadows not working

Postby Espermaschine » Tue Apr 12, 2016 5:24 am

Impossible to say without the svg.

BTW, you dont have to use a filter to make a dropshadow.
Its just a duplicate of your object with blur, an offset and reduced opacity (sometimes a layermode (Multiply)).

cleversomeday
Posts: 62
Joined: Tue Jan 19, 2010 6:52 am

Re: Drop Shadows not working

Postby cleversomeday » Tue Apr 12, 2016 12:11 pm

Thanks for responding, Esper.
It's not just one SVG, it's all of them, but I'm attaching an example.
I have been making my drop shadows using the manual method you mention, since I've never gotten the filter to work, but my current projects would really benefit from the quicker solution.
-Kay
Attachments
dropshadowtestmac.svg
(3.96 KiB) Downloaded 202 times

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

Re: Drop Shadows not working

Postby Lazur » Tue Apr 12, 2016 12:39 pm

The filter is applied twice;

gaussian blur radius is too large, offset is too large, filtering area too small.
Still checking it.

Edit:

I think I got it.
Probably you had set the page size AFTER the filter was set, thus it got transformed as the "whole document" (existing objects only).
Which resulted the blur radius seemingly much larger than displayed in the filter editor. -Like, effectively now it cannot be more than 0,1%.

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Drop Shadows not working

Postby Espermaschine » Tue Apr 12, 2016 12:42 pm

Lazur URH wrote:gaussian blur radius is too large

I noticed that as well, in the Fill/Stroke menu its at 100%, but when i apply a new Dropshadow to a new rectangle its still invisible, like it has to do with the document setup, or something.

cleversomeday
Posts: 62
Joined: Tue Jan 19, 2010 6:52 am

Re: Drop Shadows not working

Postby cleversomeday » Wed Apr 13, 2016 4:39 am

Thanks again for checking into this for me. I opened a new document, drew a rectangle and used the exact same settings as a side by side "control" on my laptop, which worked as expected. (I'll conceded that I could have clicked the filter twice by accident, one of my mice has a double click issue)
Based on Esper's comment I went back again (with the good mouse) and if I do the same thing with the fill window open, I notice that on the desktop (errant) version, the blur goes from zero to 100% immediately upon applying the filter. On the laptop, the blur goes from zero to a small number (but not the same number as in the filter settings for blur) when I apply the filter.
The blur setting on the fill panel refers to the original object, correct? I guess I don't understand why the filter would affect that setting at all, and I don't understand why it can go to 100% but not change the look of the original object.

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

Re: Drop Shadows not working

Postby Lazur » Wed Apr 13, 2016 5:01 am

Filters take the transformations of an object.
By resizing the page you add a transformation to all the content.
If you scale the filtered object put inside a group, you can see a similar effect.

By starting over you avoided any "unwanted" transformation.

cleversomeday
Posts: 62
Joined: Tue Jan 19, 2010 6:52 am

Re: Drop Shadows not working

Postby cleversomeday » Wed Apr 13, 2016 5:20 am

Thanks but I am not following you, Lazur. At no time did I resize the page, or group the object, or scale it. In all my test cases am opening a new document, drawing a rectangle and applying the filter, and in all cases the result is the same, no visible change to the object on the screen or in print. Only change is in status bar and on fill window blur setting.

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

Re: Drop Shadows not working

Postby Lazur » Wed Apr 13, 2016 5:28 am

I cannot track down how you have made your attached svg, but it is in US letter format which is not the default page layout.

Maybe worth mentioning that rectangles preserve transformations.
If you convert them to paths before adding the filtering you can have more consistent results (assuming transformations are set optimized in the preferences).

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Drop Shadows not working

Postby Moini » Wed Apr 13, 2016 6:42 am

cleversomeday, could you upload the template you are using? What's your Inkscape language setting? What's your system language?
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Drop Shadows not working

Postby brynn » Wed Apr 13, 2016 9:33 am

For the record, I've looked at the provided SVG file too. I can see that it has 100% blur. And I cannot reproduce that on my own file.

I've created a brand new object in your file and applied the Drop Shadow filter to it, and it behaves the exact same way. I've checked the filter settings in Filters Editor, and the filter settings are identical to in my own file.

I've looked in the XML Editor, and I can see that there are differences between mine and your XML Editor info. But I don't know enough about SVG/XML code to know why they are different.

I don't understand why changing the template should affect anything. Besides, she said she didn't change the template.

I'm still researching SVG/XML code :D

Edit
Strange! Today, the XML looks identical....

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Drop Shadows not working

Postby Moini » Wed Apr 13, 2016 9:42 am

The templates are language dependent, Brynn, so there may be something different about the one Kay uses - although probably she's just using the one that's for English...
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Drop Shadows not working

Postby brynn » Wed Apr 13, 2016 9:44 am

I meant that I don't know why changing the template should affect the blur of the filtered object.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Drop Shadows not working

Postby brynn » Wed Apr 13, 2016 9:58 am

In the XML Editor, in the defs section, in my file that's working correctly, all 3 filter id items show the 5 primitives that I see in the Filters Editor. But in clever's XML Editor, the first of the 3 filter id items show 11 nodes -- 2 for each primitive and an extra one, which is Color Matrix.

I would suspect just doubling up like that could be part of this problem. But I don't know where the Color Matrix could be coming from. Note that I don't know much about XML. But this difference seems to me like it could be a clue.

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Drop Shadows not working

Postby Espermaschine » Thu Apr 14, 2016 1:11 am

Lazur URH wrote:The filter is applied twice

This just happened to me, while i was working on a texteffect with filters.
I had the filter editor open, a filter was ticked and selected.
When i applied another filter to it, it was pasted inside the existing filter and not as it should be, added as a new instance in the filter editor.
Guess thats a bug.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Drop Shadows not working

Postby brynn » Thu Apr 14, 2016 1:54 am

There's another Mac user posting about a filter not showing up. It sounds like this same issue, at this early time. Although may not end up being the same in the end. I'll go get the link to that message.

Edit
Here it is: viewtopic.php?f=22&t=24820

cleversomeday
Posts: 62
Joined: Tue Jan 19, 2010 6:52 am

Re: Drop Shadows not working

Postby cleversomeday » Fri Apr 15, 2016 4:36 am

Here is my default template. I don't remember changing anything but the page size to letter, but it has been a while.
I do think something in the template is the culprit, however, because when I start a document with the built in A4 template the shadows work (I have the known issue with cutoff, but at least they show up). However, when I use the built in "Letter" template they do not work. Perhaps some of you could check to see if the Letter template gives you the same result.
Thanks again for your attention to this. I should be able to create an alternate template that will work for me from here, but of course, I am curious as to what is going on and if we have discovered a bug.
-Kay
Attachments
default.svg
(1.87 KiB) Downloaded 177 times

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Drop Shadows not working

Postby brynn » Fri Apr 15, 2016 5:46 am

I'm on Windows 7, 64-bit, sp1, and Inkscape 0.91 32-bit (exe installer). I switched my page size to US Letter 8.5 x 11 in. But it does not affect either existing filters or newly created filters.

I'll install your template and try it.

Edit
Ok, I have the same experience as you, clever. Using your template, the drop shadow filter doesn't work!

Definitely someone who know about templates should have a look into this, to make sure if there's a bug that needs to be reported, or if there's some other problem with the template. It doesn't seem to be the page size itself.

I would not know what to look for myself. But I'll be interested to learn what the problem is!

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Drop Shadows not working

Postby Moini » Fri Apr 15, 2016 7:45 am

Esper, you're right, I can confirm this buggy behaviour. It could be related to this bug (see suv's list at the bottom):
https://bugs.launchpad.net/inkscape/+bug/1081973

As it may be a duplicate, and might cause someone to react not-greatly-happy, I'm going to post this report for you (although I'd really like to see you reporting it yourself, but you know that already ;) ). You could subscribe to the report to see what's happening - you wouldn't need to do anything, just watch...

EDIT: https://bugs.launchpad.net/inkscape/+bug/1570611
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Drop Shadows not working

Postby Moini » Fri Apr 15, 2016 7:59 am

I'm not sure what's wrong with the template - just by looking at the file, I couldn't see anything strange... Not sure where/who to ask next.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Drop Shadows not working

Postby brynn » Fri Apr 15, 2016 8:03 am

Moini, are you talking about cleversomeday's problem, or Esper's double filter problem?? Or are they the same thing? I haven't seen any double filters in the test file.

Although the single filter that's applied to the object seems to have doubled-up primitives.

Edit
I'm referring to your comments to Esper, and noticed your other comment about the template only after I posted this.

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Drop Shadows not working

Postby Espermaschine » Fri Apr 15, 2016 8:08 am

Moini, you're my number one ambassador <3 ;)

cleversomeday
Posts: 62
Joined: Tue Jan 19, 2010 6:52 am

Re: Drop Shadows not working

Postby cleversomeday » Sat Apr 16, 2016 2:18 pm

I did some checking on a new macbook with a fresh install of Inkscape. The Letter and Letter landscape templates do not work with the drop shadow filter (can see bounding box where shadow should be, but can't see shadow) but the A4 and a couple of other templates I tried work correctly. Has anyone checked the Letter template on another OS (not just changing page size) to see if it functions correctly?
-Kay

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Drop Shadows not working

Postby brynn » Sat Apr 16, 2016 2:33 pm

Hhmm.... I understood from previous discussion that your custom default doc was made by changing the page size to US Letter 8.5 x 11 inches, and possibly something else that would be causing the problem. Because I did try changing the page size.

I did not test the Letter template before, because I didn't realize that was part of the issue. But I can confirm that the Drop Shadow filter doesn't work in the Letter template.

I guess that should probably be reported?

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Drop Shadows not working

Postby Moini » Sat Apr 16, 2016 11:12 pm

Yes, please!
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”