Inkscape Community

Help Using Inkscape => Inkscape Beginners' Questions => Topic started by: diane1804 on July 18, 2019, 12:17:32 PM

Title: Problem : Bezier curves cut by the area
Post by: diane1804 on July 18, 2019, 12:17:32 PM
Hi,

I'm trying to draw curved lines with the bezier curves. My problem is that the lines are cut by the "area" around the bezier curve. And I don't know how to add a padding between the line and this area border (or ignore the limit of the area).

I join 3 screenshots :
- one with the area around my line displayed
- one without the line selected to see the "cut"
- one with the properties of my line

How can I resolve this problem ?
Title: Re: Problem : Bezier curves cut by the area
Post by: brynn on July 18, 2019, 06:41:26 PM
Welcome to the forum!

It's hard to say what the problem might be, by looking at the screenshots.  We would need to see the SVG, to say exactly what is causing the problem.

My first guess is that the path in question might be clipped or masked.  We also sometimes see this with filters.  And I can see that you have at least one filter applied.  From what I can see, it should not, alone, be creating this problem.  But there could be other filters that I can't see or identify, from the info provided.

Are you able to share the SVG file?
Title: Re: Problem : Bezier curves cut by the area
Post by: flamingolady on July 18, 2019, 07:59:40 PM
I'm not entirely sure I understand the issue, but from the first pic, it looks like you need to add more nodes in order to manipulate them into the curve you desire.  Attaching the svg would be helpful.
Title: Re: Problem : Bezier curves cut by the area
Post by: diane1804 on July 23, 2019, 11:52:59 AM
Here I made a simple file of test.
I created a bezier curved, change Stroke style : the width of the stroke.
I duplicated this curve and set the blur percentage to 1.0 on the stroke (curve on the right).
The area cuts the blur effect.
Title: Re: Problem : Bezier curves cut by the area
Post by: brynn on July 23, 2019, 07:46:12 PM
Yikes!  I can indeed reproduce that, with both 0.92.3 and 0.92.4, as well as 1.0 alpha (1.0alpha (289ca37, 2019-04-09)).  I guess that must be a new bug.  I'll search bug reports to find out if it needs to be reported.

This would seem like a rather serious bug to me, and I'm surprised not to have heard of it.

Ok, well here is a workaround, and hopefully will be acceptable for your project.  If you use Path menu > Stroke to path, the appearance won't change.  And the blur will work properly.  However the structure of the object is different.  If you're familiar with using the Node tool, you'll be able to see what happens.  I can't think of many circumstances where it would matter, but it could matter.  So let us know.

Meanwhile, I'll check bug reports.

Edit
Unless the report doesn't use "blur" in it, there doesn't seem to be any report.

Reported:  https://gitlab.com/inkscape/inbox/issues/681
Title: Re: Problem : Bezier curves cut by the area
Post by: Moini on July 24, 2019, 11:14:23 AM
It's 'fixed' already for 1.0 (known issue with filter areas often not matching the object), by providing on-canvas controls for filter area size.

You can adjust it in 0.92.4, too, by selecting the object, then going to Filters > Filter editor and playing with the values for x,y, width and height of the filter.
Title: Re: Problem : Bezier curves cut by the area
Post by: brynn on July 24, 2019, 11:41:52 AM
Is there a newer version of 1.0 alpha, which has the fix?  Just in  case diane1804 needs it.
Title: Re: Problem : Bezier curves cut by the area
Post by: Moini on July 24, 2019, 01:39:06 PM
The on-canvas controls are in the development version for a long time already, if that's what you mean.
Title: Re: Problem : Bezier curves cut by the area
Post by: brynn on July 24, 2019, 07:07:52 PM
When you said it's fixed in 1.0, I wasn't sure if you meant that the fix is available in 1.0 alpha, or if it's been fixed, but it's not available in 1.0
alpha.

Edit
So are they ever going to really fix it, like it was before this bug?  Or is it fixed by having to adjust the filter every time?
Title: Re: Problem : Bezier curves cut by the area
Post by: diane1804 on July 25, 2019, 10:15:41 AM
Thanks for your replies.

The solution of editing the filter size manually works, but so annoying....
I wanted to try with the on-canvas controls you mentionned. So I downloaded the version 1.0 alpha 2, but I don't know how to use this new on-canvas control, is there a shortcut or a button to know ? The canvas looks the same as in my previous version 0.92.4 (for me the canvas is the area with the dotted line, in case where we are not speaking of the same thing).
The canvas in the version 1.0 seems even worse, because the area doesn't fit the curve even without any blur.
Title: Re: Problem : Bezier curves cut by the area
Post by: Moini on July 26, 2019, 06:23:35 AM
Diane, please report that problem at https://inkscape.org/report - it sounds like it should be fixed before a release.
Title: Re: Problem : Bezier curves cut by the area
Post by: Mark_McQ on July 28, 2019, 05:49:05 AM
If you don't need to edit the stroke again converting it to a path will let the blur display correctly.
Title: Re: Problem : Bezier curves cut by the area
Post by: brynn on July 28, 2019, 05:03:41 PM
Without a screenshot to be sure, I'm guessing the dashed line you're talking about -- it would be a dashed line rectangle -- is called the bounding box.  It will show up around whatever object you've selected.

The canvas is the entire drawing area, whether it's inside the page border or outside.  (The page border is a solid line rectangle, and can have a shadow and can be hidden, if you like.)

Hhmm, these on canvas controls must not be in my version of 1.0 alpha.  I'll have to download a more current version to test and try to answer your question.

Personally, I wouldn't file a bug report until we're sure everyone is talking about the same thing....  I can download later tonight, and then I'll post again, after I've tested.

However, I would echo my last comments, and hope that they can fix the problem, rather than add some new feature to control the problem.