[Libreoffice-bugs] [Bug 131758] Consistent polygon tool behavior in Draw.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 2 14:17:23 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=131758

Regina Henschel <rb.henschel at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de

--- Comment #12 from Regina Henschel <rb.henschel at t-online.de> ---
>From the specification point of view, there are three possibilities:
<draw:polyline> A sequence of points, connected with straight lines, never
closed, first point = last point does not make it closed.
<draw:polygon> A sequence of points, connected with straight lines, always
closed, first point = last point is not needed to close be closed.
<draw:path> All from SVG 'path' element is allowed, but currently not all is
implemented in LibreOffice.
<draw:polyline> cannot be filled.
<draw:polygon> can be filled.
<draw:path> Only those parts, which are closed by the 'closepath' command can
be filled.
That is in not reflected in the UI of LibreOffice.

Problems in the UI:
1) Using Alt-Click to start a next sequence of points always inserts a
'closepath' command. But reading a shape without this 'closepath' command is
possible.
2) Finish creating with a double-click on the first point, closes the shape
automatically. But <draw:polyline> elements with same start and end point are
possible and correctly read.
3) The naming in the UI uses 'Polyline' and 'Polygon' too, when it is a
path-element with only straight lines.
4) The use of Alt-key with the 'Curves and Polygons'-tool is badly
communitcated.

When starting with a polyline and using Alt-Double-click, it does only close
the shape because of behavior 1).
Using Ctrl-Alt-Click is the same as only using Alt-Click. It closes the shape
because of behavior 1) and goes into PolyPolygon-mode. The next line will
belong to the same shape.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200402/322f8c4e/attachment.htm>


More information about the Libreoffice-bugs mailing list