Comment 8 for bug 168907

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

a fix has been committed to rev 12176, could you re-test to see if this is still a problem?

two test were performed:
1. Using the file InkscapeUnionBug.svg, it was found that the operation Path->Union caused one object to disappear, the other one was kept. The disappearance was related to the small size of the object. These shape operations have some numerical round-off error associated with them, and small objects may get misrepresented as empty. After reloading the file and scaling both objects uniformly by a factor of about 2 or so, it was found that both objects survived the Union operation.

2. File Inkscape Bug.svg. This file does not load correctly into current trunk. The loading problem is caused by the fact that there are two points with very large coordinates. The coordinates are:

         d="M 8.1269556e+17,-9.3570327e+17 L 8.1269556e+17,-9.3570327e+17 L 8.1269556e+17,-9.3570327e+17 z "
         d="M 8.634365e+17,5.0616653e+17 L 8.634365e+17,5.0616653e+17 L 8.634365e+17,5.0616653e+17 z "

After manually removing these two points, the attached file 'INKSCAPE BUGe17.svg' was obtained. This loads normally. To perform the Path->Union operation, all the objects were ungrouped, and all objects except the red background were selected for the Union. This led to 393 objects before the union, and a single Path with 2002 nodes after the Union. As far as I could tell visually, this Union was successful.