Bug 159889 - Not possible to ungroup group of shapes, anchored "As Character" (see comment 3)
Summary: Not possible to ungroup group of shapes, anchored "As Character" (see comment 3)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.0.3 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Grouped-Shapes DOCX-Canvas-Shape
  Show dependency treegraph
 
Reported: 2024-02-25 22:49 UTC by Alvaro Segura
Modified: 2024-03-13 03:16 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Document with free shapes plus shapes in a canvas (12.61 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-02-25 22:49 UTC, Alvaro Segura
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro Segura 2024-02-25 22:49:15 UTC
Created attachment 192765 [details]
Document with free shapes plus shapes in a canvas

DOCX drawings inside a drawing canvas are not editable. I just discovered that if the shapes are *free* and not in a canvas, then they can be edited (turns out all my drawings in documents were inside canvases).
Comment 1 Alvaro Segura 2024-02-26 20:54:43 UTC
After digging a little, it seems this is a known limitation:

https://bugs.documentfoundation.org/show_bug.cgi?id=134900#c8

I thought shapes in a canvas would be nearly the same as out-of-canvas, only with a clear boundary. But I guess it's more complicated. So maybe this would be a "feature request".

Anyway, just in case, steps to reproduce:

1. In MS Word, expand the Shapes drop down and click "Create drawing canvas".
2. Draw some shapes inside the canvas.
3. Save the file and open it in LO Writer.

The shapes show but cannot be ungroupped or edited.
Comment 2 Dieter 2024-03-12 07:54:59 UTC
(In reply to Alvaro Segura from comment #1)
> After digging a little, it seems this is a known limitation:
> 
> https://bugs.documentfoundation.org/show_bug.cgi?id=134900#c8
> 
> I thought shapes in a canvas would be nearly the same as out-of-canvas, only
> with a clear boundary. But I guess it's more complicated. So maybe this
> would be a "feature request".

I agree, that it is a feature request for import of "Drawing Canvas".

Regina, you seem to be more familiar with that topic. What do you think?
Comment 3 Regina Henschel 2024-03-12 12:35:57 UTC
A drawing canvas is imported as group, which is anchored "as character". Select the canvas object and change the anchor to "to character" or "to paragraph". Now you can enter the group and edit the shapes in it.

(In reply to Dieter from comment #2)
> I agree, that it is a feature request for import of "Drawing Canvas".
> 
I have worked on import of "Drawing Canvas", so that no longer the VML fallback is used. Thus my comment 134900#c8 is obsolete. But I have not touched anchoring at that time because anchoring is related to the allover layout.

That problem exists the same way for a group which is created in LibreOffice directly. It is a bug independent from "Drawing Canvas". I thought there exists a report already, but I do not find it.

So "feature request for import of 'Drawing Canvas'" is wrong, but it is a bug with groups anchored "as character".
Comment 4 Dieter 2024-03-12 13:20:11 UTC
(In reply to Regina Henschel from comment #3)
> So "feature request for import of 'Drawing Canvas'" is wrong, but it is a
> bug with groups anchored "as character".

Regina, thank you for your input. So I've changed bug summary and bug status

BTW:
Really difficult to select it and change anchor