Bug 159334 - An extruded shape does not show stroke, but should
Summary: An extruded shape does not show stroke, but should
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-23 10:59 UTC by Regina Henschel
Modified: 2024-01-24 08:31 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Stroke in extruded shape (21.41 KB, application/vnd.oasis.opendocument.presentation)
2024-01-23 10:59 UTC, Regina Henschel
Details
Stroke extrusion in pptx (12.05 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2024-01-23 11:00 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2024-01-23 10:59:45 UTC
Created attachment 192120 [details]
Stroke in extruded shape

Draw a custom shape, e.g. a heart. Give it a line width so that the stroke is good visible. Now toggle to extrusion. Notice that the extruded shape has no stroke.

Now draw the shape again and convert it to polygon (context menu Convert) and then extrude it to a 3D scene (context menu Convert). This 3D object has the stroke.

When converting to a true 3D scene two objects are created, one for the body and one for the stroke. Same could be done when rendering a custom shape in extruded mode.

When PowerPoint extrudes a shape, the stroke is kept.

The current way of LibreOffice makes it impossible to get rendering comparable to PowerPoint, even if the import of a pptx file will be enhanced to keep the extrusion.

ODF has nothing in its descriptions that would support the current way LibreOffice renders an extruded shape. But it might be necessary to have an additional attribute to determine that the current way of rendering has to be used.
When PowerPoint opens an odp file, it changes the stroke of the extruded shape to "none" to get the same rendering as LibreOffice.
Comment 1 Regina Henschel 2024-01-23 11:00:20 UTC
Created attachment 192121 [details]
Stroke extrusion in pptx
Comment 2 m_a_riosv 2024-01-24 01:25:32 UTC
Also, opening pptx file with LO doesn't show the 3D.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d49b0c3654e50ff9b74545140e6f19e008009c33
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 3 Regina Henschel 2024-01-24 08:31:24 UTC
(In reply to m_a_riosv from comment #2)
> Also, opening pptx file with LO doesn't show the 3D.

The import problem is tracked in bug 70039.