Filter Editor not allowing/displaying a Standard Deviation of 0.0 for Gaussian Blur
Summary:
Just happened to notice that when looking in the Filter Editor and selecting a Gaussian Blur created by a Drop Shadow.
Steps to reproduce:
- Open DropShadowIssue.svg (from inbox#5472) in a text editor and notice that the feGaussianBlur stdDeviation is set to 0 (Line 62 of the file).
- Now, open the file inside of Inkscape.
- Filters -> Filters Editor
- Select the only item, a Drop Shadow.
- Select the Gaussian Blur.
What happened?
The 'Standard Deviation' for the blur is displayed as 0.01.
What should have happened?
The 'Standard Deviation' for the blur should be displayed as 0.00.
If you're able to create a Drop Shadow on an item in Inkscape with with the 'blur radius' set to 0.0 (and Inkscape can save it just fine doing that), you should be able to do the same exact modification in Filter Editor for a Drop Shadow's blur.
Also, if you were to continue on these additional steps, you would see the file saved with a 'standard deviation' of 0.01 instead of 0.
6a) Hit the + once (now displays 1.01) and then the - (now displays 0.01) beside the Standard Deviation.
6b) Or manually type in the text box 0.0 for the Standard Deviation.
-
Save the file.
-
Now go back into your text editor, reload the file, and notice the file now shows the feGaussianBlur stdDeviation as either 0.01 or possibly 0.010000000000000009.
Version info
Inkscape 1.1 (c68e22c387, 2021-05-23) (64-bit version)
Windows 7 SP1 x64