Boolean operations on open paths create closed paths

Bug #168133 reported by Jaspervdg
14
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Wishlist
Unassigned

Bug Description

Edit:
This bug is about a feature request so that the boolean operations (a.o. difference and intersection) create open paths when the source paths are open.

Original:
When I use the difference or intersection operation on an open path (and a
rectangle) the path suddenly gets new edges and is closed, see attachment
(which also shows my intention).

Revision history for this message
Jaspervdg (jaspervdg) wrote :
Revision history for this message
Bryce Harrington (bryce) wrote :

Originator: NO

First, thank you for the excellent example image, that makes it very clear
what the problem you're experiencing is.

Unfortunately, while confusing, this is actually intended behavior.
Difference and Intersection are operations intended for closed paths.

If you use the Cut Path operation, you'll see the intended effect (the
open path is cut into two pieces, one of which matches your intended
effect.

While I think this may be a non-bug, I'm assigning to bulia to review.
Bulia, do you think that it might be less confusing if Division and
Intersection were changed to behave as Cut Path in the situation where one
of the objects is an open path? If you think the current behavior is
correct, please close this bug.

Revision history for this message
LostInBrittany (lostinbrittany) wrote :

I guess it depends on how people uses Inkscape, but the way I use it, I would prefer that boolean operations on open paths gave open paths as result. So for me, it's a bug, not an intended feature. YMMV, of course

Changed in inkscape:
status: New → Confirmed
Ryan Lerch (ryanlerch)
Changed in inkscape:
assignee: buliabyak-users → buliabyak
status: Confirmed → Incomplete
Revision history for this message
quazgar (quazgar) wrote :

Another strange thing I've noticed, I think it's part of the same problem/behaviour: Probably due to the closed-path-restriction, (sub)paths that consist only of one segment (or several colinear segments) are deleted completely. See the attached file for example.

If this should go into a separate report, it's ok, but I think it should belong to this bug's general subject.

tags: added: node-editing
jazzynico (jazzynico)
tags: added: boolops
Revision history for this message
jazzynico (jazzynico) wrote :

Duplicate Bug #245329 provides an excellent example file.

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for posting this bug.

Does this occur in Lucid?

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

@rusivi1 - I'm a bit confused about your question. No one mentioned that they're using Ubuntu here.

Revision history for this message
su_v (suv-lp) wrote :

@rusivi - this is a generic Inkscape bug, unrelated to any specific platform port/installation. It is marked 'Incomplete' because a review of the issue by an Inkscape developer was being asked for, to decide on the bug status ('Won't Fix' or 'Confirmed').

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

I beg your pardon, I will refrain from posting to this or other Inkscape bugs unless I have something to contribute.

Kris (kris-degussem)
description: updated
Changed in inkscape:
status: Incomplete → Confirmed
importance: Medium → Wishlist
assignee: bbyak (buliabyak) → nobody
Revision history for this message
ScislaC (scislac) wrote :

I just wanted to add this file for reference. It's using an equivalent boolean operation from Illustrator and the result is the same with it closing the path. It's really odd because AI actually gets other operations with open segments more correct than Inkscape does. Weird.

For the record, I am adding a +1 to this report.

Revision history for this message
Adam Belis (adambelis) wrote :
Changed in inkscape:
status: Confirmed → Incomplete
Changed in inkscape:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.