Bug 55956 - FILESAVE: Circular Arrow broken after save as PPT/PPTX & reopening
Summary: FILESAVE: Circular Arrow broken after save as PPT/PPTX & reopening
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.6.2.1 rc
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:ppt, filter:pptx
: 69785 86295 (view as bug list)
Depends on:
Blocks: PPT PPTX-Shapes
  Show dependency treegraph
 
Reported: 2012-10-13 19:33 UTC by Pierre Martineau
Modified: 2023-06-26 03:12 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Circular arrow created in LibO (12.79 KB, application/vnd.ms-powerpoint)
2012-10-13 19:33 UTC, Pierre Martineau
Details
Circular arrow created in LibO saved as ppt (71.00 KB, application/vnd.ms-powerpoint)
2012-10-13 19:33 UTC, Pierre Martineau
Details
Circular arrow created in MS PPT2003 (9.50 KB, application/vnd.ms-powerpoint)
2012-10-13 19:34 UTC, Pierre Martineau
Details
Circular arrow created in MS PPT2003 saved as ppt in LibO (69.00 KB, application/vnd.ms-powerpoint)
2012-10-13 19:34 UTC, Pierre Martineau
Details
The original document and its pptx version in PP (139.23 KB, image/png)
2021-01-11 14:52 UTC, NISZ LibreOffice Team
Details
Other effected shapes (40.68 KB, application/vnd.oasis.opendocument.presentation)
2021-06-25 16:24 UTC, Regina Henschel
Details
w and h attributes manually set (45.62 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2021-06-25 16:31 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Martineau 2012-10-13 19:33:00 UTC
Created attachment 68530 [details]
Circular arrow created in LibO

* Create a Circular Arrow in LibO
 - attached file "arrow_created_LibO.odp"
* Export as ppt (or pptx).
 - attached file "arrow_created_LibO.ppt"
* Open in LibO "arrow_created_LibO.ppt"
 - The head of the arrow is incorrectly displayed.

* Create the same Circular Arrow in PowerPoint (3003)
 - attached file "arrow_created_PPT2003.ppt"
* Open it in LibO
 - The arrow is correctly displayed
* Save it as ppt
 - attached file "arrow_created_PPT2003_saved_LibO.ppt"
* Open in LibO the newly created file
 - It is displayed correctly!

In summary, 
- when working with a MS PPT generated "Circular arrow", LibO is able to open/save the ppt file.
- when working with a LibO generated "Circular arrow", LibO can only save it as .odp but not as .ppt (or pptx).
Comment 1 Pierre Martineau 2012-10-13 19:33:55 UTC
Created attachment 68532 [details]
Circular arrow created in LibO saved as ppt
Comment 2 Pierre Martineau 2012-10-13 19:34:28 UTC
Created attachment 68533 [details]
Circular arrow created in MS PPT2003
Comment 3 Pierre Martineau 2012-10-13 19:34:54 UTC
Created attachment 68534 [details]
Circular arrow created in MS PPT2003 saved as ppt in LibO
Comment 4 Rob Snelders 2012-10-19 16:07:10 UTC
Confirmed this bug with 3.5.4.2 and 3.7.0.0-master of last week (2012-10-14) on Ubuntu 12.04 x86_64
Comment 5 ign_christian 2013-06-13 04:02:00 UTC
Confirm reproducible on LO 4.0.4.1 (Win7 32bit)
Comment 6 ign_christian 2013-09-26 03:30:52 UTC
*** Bug 69785 has been marked as a duplicate of this bug. ***
Comment 7 QA Administrators 2015-04-19 03:21:47 UTC Comment hidden (obsolete)
Comment 8 John Floyd 2015-04-20 03:37:22 UTC
Still a problem in V4.4.2 - unchanged behaviour
OS Fedora 21
Comment 9 Xisco Faulí 2016-04-27 11:03:10 UTC Comment hidden (obsolete)
Comment 10 Buovjaga 2017-01-26 17:30:04 UTC
*** Bug 86295 has been marked as a duplicate of this bug. ***
Comment 11 QA Administrators 2018-01-27 03:26:41 UTC Comment hidden (obsolete)
Comment 12 Pierre Martineau 2018-01-30 06:42:32 UTC
The bug is still present in the last libreoffice version. Of note, export in pptx is a bit better but the arrow is still not identical to the original

Tested in 

Version: 5.4.4.2
Build ID: 2524958677847fb3bb44820e40380acbe820f960
CPU threads: 4; OS: Mac OS X 10.11.6; UI render: GL; 
Locale: fr-FR (fr.UTF-8); Calc: group

Version: 6.0.0.3
Build ID: 64a0f66915f38c6217de274f0aa8e15618924765
CPU threads: 4; OS: Mac OS X 10.11.6; UI render: GL; 
Locale: fr-FR (fr.UTF-8); Calc: group
Comment 13 Xisco Faulí 2018-08-16 21:38:33 UTC
Still reproducible in

Version: 6.2.0.0.alpha0+
Build ID: b264c9276888bb952deeec31abe3a77e05dac164
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: threaded
Comment 14 QA Administrators 2019-08-19 07:01:30 UTC Comment hidden (obsolete)
Comment 15 Pierre Martineau 2019-08-19 09:16:25 UTC
The bug is still present in the last libreoffice version
It both affect ppt and pptx, but with differences
- ppt: the arrowhead is not correct
- pptx: the originally round arrow is oval after export

Tested in
Version: 6.3.0.4
Build ID: 057fc023c990d676a43019934386b85b21a9ee99
Threads CPU : 4; OS : Mac OS X 10.11.6; UI Render : par défaut; VCL: osx; 
Locale : en-US (fr.UTF-8); Langue IHM : fr-FR
Comment 16 NISZ LibreOffice Team 2021-01-11 14:52:08 UTC
Created attachment 168822 [details]
The original document and its pptx version in PP

Original document is attachment #86605 [details] from duplicate bug #69785

Still a problem in:

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 8e691505d4675b878b30bd00cd2e4fb4f794f0ef
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL
Comment 17 Regina Henschel 2021-01-11 18:54:27 UTC
My take would be to put all mso-shapes into a Gallery theme and fill the UI-lists with ooxml-preset shapes.

That way users would automatically use pptx compatible shapes. User who need compatibility with binary ppt can still get the shapes from the Gallery theme.
Comment 18 Regina Henschel 2021-06-25 16:10:27 UTC
The reason is, that the w and h attributes of the path element are set to the bound rectangle of the path, but they need to be set to the shape size in Hmm.

The 'circular arrow' shape has no compatible ooxml preset shape, so the error cannot be fixed with the new introduced DMLPresetShapeExporter.

The ooxml preset shape 'circularArrow' is not compatible, because its arrow head has a different direction in its base. For a full fix including handles, it would be necessary to generate an individual custGeom element. That is not trivial, because our circular Arrow uses the enhanced path commands B and W, whereas PowerPoint needs the command G (arcTo).

PowerPoint 365 reads our circular arrow from an .odp document and converts it to a suitable shape including handles for pptx. That is very likely done by a general algorithm, because the resulting shape has 247 equations (gd elements). Astonishing, opening a .ppt document with this shape in PowerPoint looses the handles.

But even exporting our shape to such ooxml custGeom, would not really help here, because we would not be able to detect that it is our circular arrow on import. Thus we will convert it to a general path and that has the same problem, that w and h is wrongly set.

Other shapes with the same error are 'up-right-down-arrow' and 'up-right-arrow-callout' and Bezier-curves.
Comment 19 Regina Henschel 2021-06-25 16:24:08 UTC
Created attachment 173208 [details]
Other effected shapes

The document has the shapes in Blue and behind each one a screen shot in Red.
Comment 20 Regina Henschel 2021-06-25 16:31:44 UTC
Created attachment 173209 [details]
w and h attributes manually set

Here the w and h attributes were manually set to the shape size (cx, cy) in Hmm. You can see, that the size is correct now. But such will not be the complete fix, because position has to be corrected too.
Comment 21 QA Administrators 2023-06-26 03:12:20 UTC
Dear Pierre Martineau,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug