Bug 160798 - Heads of arrows that were converted to contours become double head after saving as PPTX
Summary: Heads of arrows that were converted to contours become double head after savi...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.3.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, filter:pptx
Depends on:
Blocks: Arrow_Style
  Show dependency treegraph
 
Reported: 2024-04-23 13:01 UTC by Roland Baudin
Modified: 2024-05-08 15:44 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Test presentation with some arrows (16.62 KB, application/vnd.oasis.opendocument.presentation)
2024-04-23 13:02 UTC, Roland Baudin
Details
Converted presentation (8.67 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2024-04-23 13:02 UTC, Roland Baudin
Details
Screenshot of test.pptx opened in PowerPoint 2016 (98.25 KB, image/png)
2024-04-23 13:03 UTC, Roland Baudin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Baudin 2024-04-23 13:01:27 UTC
Description:
When exporting a document (here an Impress presentation) to MS Office (here in PowerPoint 2016), if arrows were converted to contours, then their heads become double in PowerPoint (see attached screenshot).

Moreover, this seems to appear only when the line thickness is 0. And when the line thickness is not zero, the arrow head don't have the right size, they are too big.

I did tests in Impress and PowerPoint (or Draw), but I guess the issue will be in Writer and Word too.

Steps to Reproduce:
1. Create a blank presentation in Impress and insert an arrow somewhere

2. Select the arrow and convert it to contour (not curve or any another format)

3. Save the presentation to test.odp and convert it to PowerPoint 2007-365 .pptx format.

4. Open the test.pptx file in PowerPoint and check that the arrow has a double head

Actual Results:
The arrow has a double head in PowerPoint.

Expected Results:
In PowerPoint, the arrow should have the same shape and size as in Impress.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
If the arrow has a thickness > 0, then there is no double head, but a single bigger head in PowerPoint.

I did the tests with fresh LibreOffice profile.
Comment 1 Roland Baudin 2024-04-23 13:02:09 UTC
Created attachment 193821 [details]
Test presentation with some arrows
Comment 2 Roland Baudin 2024-04-23 13:02:47 UTC
Created attachment 193822 [details]
Converted presentation
Comment 3 Roland Baudin 2024-04-23 13:03:21 UTC
Created attachment 193823 [details]
Screenshot of test.pptx opened in PowerPoint 2016
Comment 4 Roland Baudin 2024-04-23 13:05:11 UTC
I forgot the LO version and system:

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 48; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: CL threaded

System: Ubuntu 22.04.4 LTS 64 bits
Comment 5 Stéphane Guillou (stragu) 2024-05-08 15:44:28 UTC
(In reply to Roland Baudin from comment #0)
> 4. Open the test.pptx file in PowerPoint and check that the arrow has a
> double head
No need to open in PowerPoint: reloading the file in LO shows the issue.

I can reproduce in:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 92815f3a464b447898ecf52492247335228e4a72
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

as well as in 5.3.0.3.

In ODP, entering the group and looking at the line properties shows that it does use "End style = Arrow", with a width of 0.
Once saved as PPTX, it shows the "extra" arrowhead on the line on canvas even though the dialog shows "End style = -none-" and a greyed-out width of 0.21 cm.

Back in 5.2.0.4, saving as PPTX would result in the arrows turned back into single line objects.
A bibisect could be interesting.