https://bugs.freedesktop.org/show_bug.cgi?id=86989
Bug ID: 86989 Summary: EDITING: Modify > Connect sometimes adds extra lines or doesn't close the bezier Product: LibreOffice Version: 4.3.4.1 release Hardware: All OS: All Status: NEW Severity: normal Priority: medium Component: Drawing Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: dg1...@hushmail.com Created attachment 110429 --> https://bugs.freedesktop.org/attachment.cgi?id=110429&action=edit Input file for issues A & B This bug report includes 3 related issues or aspects of the same issue. Testing was done with LO 4.2.0.4 and 4.3.4.1 on Ubuntu, as described below. 1. Start with "dwg 1 ver. 1- from Inkscape.pdf" (the ultimate source of the diagram was FreeCAD; then Inkscape was used to make a few edits & convert SVG to PDF). 2. Open this file in LO Draw 4.2.0.4. 3. This 2D diagram has a hollow region at the top & one at the bottom. The user wants to fill these 2 regions with a hatch pattern. 4. First, the top region. Select the 13 draw objects that form the boundary of this region. These are 12 lines (including, at the right-hand side, a very short vertical line which is difficult to select) & one bezier. 5. Modify > Connect 6. In the "Line and Filling" toolbar, set Area Style/Filling to "Hatching - Black 45 degrees". 7. LO Draw 4.2.0.4 does this correctly. 8. Issue A: In step 5, LO Draw 4.3.4.1 produces 1 or 2 short extra line segments, forming an acute angle, sticking out at the right-hand side. 9. Next, the bottom region. Follow steps 4 & 5 for this region. 10. Issue B: In both versions of LO Draw, an extra oblique line appears at the lower left. The results of the above 2 issues in the 2 versions of Draw are shown in the two "dwg 1 ver. 2.odg" files. About Issue B: * Using "edit points" mode (the Points button in the Drawing toolbar) to move the right-hand endpoint of the unexpected line (e.g., slightly up & to the left) and the lower-left corner of the region (e.g., slightly down & to the left) shows that a total of 3 extra lines were drawn, 2 of which coincided with lines that were present in the PDF. * Trying to "nudge" the segments (using "Snap to Object Points" in the Options toolbar, before the Connect command), so their endpoints exactly coincided, typically didn't prevent the extra lines from being drawn. In my testing, it did once out of several tries. But even if there is always a procedure of "nudging" the lines that will hide Issue B, I think it is unreasonable to expect the user to do this. The set of lines looks closed to the user, even at high zoom factors, so LO Draw should be able to connect them with only the Modify > Connect command. 11. "dwg 2 ver. 1- from Inkscape.pdf" is similar, up through step 8 of the above. (This time there are 12 draw objects forming the boundary of each region of interest.) 12. Issue C: For the bottom region, at step 6, in both versions of LO Draw, the hatch pattern isn't drawn, because the bezier isn't closed. The user needs to click "Close Bézier" on the Edit Points toolbar. 13. Once that button is clicked, Issue B (extra line obliquely across the region) occurs in both versions of LO Draw, and Issue A (acute angle sticking out at a junction point) occurs (again) in 4.3.4.1. ----- There is a workaround for Issue B, taking advantage of the fact that the bottom region is a mirror image of the top region, and that the top region is correctly connected into a bezier by LO Draw (at least version 4.2.0.4). I will summarize as: * Edit > Duplicate * Modify > Flip > Vertically * Modify > Break * Snap to Object Points * Modify > Connect As with "nudging," I think the user shouldn't have to do this workaround. Thanks for help with these issues. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs