Wrong intersection on circles at 45° (rev >= 12594)

Bug #1253110 reported by LucaDC
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Johan Engelen

Bug Description

Draw a circle, drag a 45° guide through the center, activate path intersection snapping and snap another guide to the intersection between the circle and the guide, switch to outline mode and zoom in the intersection: it's wrong.
Tested with Rev 12825 on Windows XP.

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

Only reproduced with really small circles (regression in trunk).

See also comments #22-23 in bug #1235504
<https://bugs.launchpad.net/inkscape/+bug/1235504>
and
<http://sourceforge.net/mailarchive/message.php?msg_id=31680243>

tags: added: precision regression shape-editing
Changed in inkscape:
milestone: none → 0.49
Revision history for this message
Alvin Penner (apenner) wrote :

- reproduced with Windows XP, Inkscape rev 12792, using the attached svg file

Revision history for this message
Alvin Penner (apenner) wrote :

attached is a screenshot showing the discrepancy

Revision history for this message
Alvin Penner (apenner) wrote :

- not reproduced after applying rev 2122 of lib2geom to the Inkscape files sbasis-to-bezier.cpp and sbasis-to-bezier.h, new screenshot attached

su_v (suv-lp)
Changed in inkscape:
importance: Undecided → Medium
status: New → Triaged
tags: added: blocker
Revision history for this message
Tavmjong Bah (tavmjong-free) wrote :

I've seen a problem with very small ellipses. It exists in 0.48 and trunk. I've traced the problem to lib2geom. See bug 1255446.

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

Testing with archived builds on OS X 10.7.5:
- not reproduced with rev <= 12593
- reproduced with rev >= 12594

AFAIU bug #1255446 and this one (bug #1253110) are about the same issue.

summary: - Wrong intersection on circles at 45°
+ Wrong intersection on circles at 45° (rev >= 12594)
Revision history for this message
Tavmjong Bah (tavmjong-free) wrote :

Bug #1255446 was traced to a preference setting (Minumum exponent set to -1) thus is not relevant to this bug.

su_v (suv-lp)
tags: added: 2geom
removed: blocker
Changed in inkscape:
status: Triaged → In Progress
Revision history for this message
su_v (suv-lp) wrote :

@Alvin - do you happen to know whether there is an update planned of Inkscape's copy of lib2geom in the near future? Would it be better to keep the 'blocker' tag set, until we can be sure that it will happen in time before a new release branch gets created?

Revision history for this message
Johan Engelen (johanengelen) wrote :

Hi ~suv, Alvin,
I've been doing partial 2geom updates recently. I suggest you do the same for now :-) Simply copy the file into Inkscape. Please check the diff and verify that there are no large (breaking) changes other than your change.
Thanks for the fix.

Revision history for this message
Johan Engelen (johanengelen) wrote :

synched 2geom in r12921

Revision history for this message
Alvin Penner (apenner) wrote :

thanks, Johan!
with rev 12921, I can no longer reproduce the problem (Windows XP).
could someone else test to confirm?

Revision history for this message
jazzynico (jazzynico) wrote :

Also confirmed on Windows XP, Inkscape trunk rev 12921.

Changed in inkscape:
assignee: nobody → Johan Engelen (johanengelen)
status: In Progress → Fix Committed
Revision history for this message
LucaDC (lucadc) wrote :

Good, circles are circular again!
I confirm the same as jazzynico.

Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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