Bug 144041 - "Edit points" tool is missing for custom shapes
Summary: "Edit points" tool is missing for custom shapes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shapes-Custom
  Show dependency treegraph
 
Reported: 2021-08-23 22:52 UTC by Regina Henschel
Modified: 2023-09-29 12:27 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2021-08-23 22:52:55 UTC
If you draw a Bézier curve and export it to OOXML format, then the Bèzier curve is exported as shape with custGeom. When you reopen the exported file, this custGeom is imported as custom shape. Now you are no longer able to change points of the curve.

The workaround to convert the custom shape to curve does not work in Writer and gives not one object but two objects (outline and fill) in Draw/Impress.

This imported custom shape has in its path no references to equations or adjustment values but only direct values. Therefore it could allow the same handling as the "Edit Points" tool for Bézier curves.

MS Office has a "Edit Point" tool for the shapes.

My request: If a custom shape is not a preset shape and has a path with only direct values, then provide a tool similar to the "Edit Points" toolbar to let the user edit the points.

[Of cause a full editor for custom shape geometry would be a better, more extensive solution.]
Comment 1 Stéphane Guillou (stragu) 2023-07-26 09:31:06 UTC
Regina, I'm not sure I can reproduce as described. With the following steps tested in 7.2, 7.3 and 24.2:

1. Open Impress
2. Insert > Shape > Line > Curve
3. Save as PPTX
4. Reload
5. Right-click > Convert > To curve
6. Right-click > Points

... I can edit it just like I could when first created.

Am I missing something?

Also, is this related to bug 137682?
Comment 2 Regina Henschel 2023-07-26 13:51:31 UTC
(In reply to Stéphane Guillou (stragu) from comment #1)
> Regina, I'm not sure I can reproduce as described. With the following steps
> tested in 7.2, 7.3 and 24.2:
> 
> 1. Open Impress
> 2. Insert > Shape > Line > Curve
> 3. Save as PPTX
> 4. Reload

I have described the way through PPTX only to show how a normal user can come into this situation. The request itself is independent from MS Office.

> 5. Right-click > Convert > To curve

That is only a workaround but no solution. Reasoning:
* Converting to curve looses the text in its editable form, but converts it to curves
* Only closed Bézier curves can be filled, whereas a not closed path in a custom-shape can be filled.
* Bézier curves are totally different from custom-shapes in the way they adjust texts to the shape. Especially, they have no automatic line wrap.
* Bézier curves have no "Toggle Extrusion".

> Also, is this related to bug 137682?

No, that is about export filter to OOXML. And providing a tool to the user that allows to edit handles and equations would be much more complicated. Therefor this request is restricted to the case where no handles or equations exist.

My request is more like this: Give the user a tool to create and edit curves similar to Bézier curves but as custom-shapes, to combine the advantages of custom-shapes with the flexibility of Bézier curves.