Bug 154829 - FILEOPEN DOCX shape "cloud" is wrongly rendered if it is on a Drawing Canvas
Summary: FILEOPEN DOCX shape "cloud" is wrongly rendered if it is on a Drawing Canvas
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:24.2.0
Keywords:
Depends on:
Blocks: OOXML-Shapes
  Show dependency treegraph
 
Reported: 2023-04-15 17:25 UTC by Regina Henschel
Modified: 2023-11-16 03:41 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
'cloud' shape on Drawing Canvas (20.34 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-04-15 17:25 UTC, Regina Henschel
Details
'cloud' shape directly inserted (18.73 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-04-15 17:26 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2023-04-15 17:25:40 UTC
Created attachment 186688 [details]
'cloud' shape on Drawing Canvas

Open the attached documents. In one case the 'cloud' shape is inserted normally and in the other case it is inserted into a Drawing Canvas. Notice, that in case of the Drawing Case the rendering is wrong.
Comment 1 Regina Henschel 2023-04-15 17:26:36 UTC
Created attachment 186689 [details]
'cloud' shape directly inserted
Comment 2 Regina Henschel 2023-04-15 17:33:47 UTC
Error is, that the shape is imported as Bezier curve although it is a preset shape with prst="cloud" in file markup.
Comment 3 Stéphane Guillou (stragu) 2023-04-17 09:52:05 UTC
Regina, I believe this is the same as described in bug 104671.
Would you mind adding your analysis there?

*** This bug has been marked as a duplicate of bug 104671 ***
Comment 4 Regina Henschel 2023-04-17 10:37:07 UTC
It is not duplicate to bug 104671.
The shape in bug 104671 is a VML shape. In my example the shape is an ordinary OOXML shape with prst="cloud". The error here is, that it is not imported as custom shape although the preset type is known. If it were imported as "cloud", the rendering would be correct. The shape in bug 104671 has no preset type.
Comment 5 Aron Budea 2023-08-07 02:15:27 UTC
Repro in LO 24.2.0.0.alpha0+ (46e672db8002e7aaac881bee65b5c50c4e14c666), 4.4.0.3 / Ubuntu.
Comment 7 Aron Budea 2023-11-16 03:41:14 UTC
Thanks for implementing this fix, Regina!