Bug 59019 - FILESAVE .odp with non primitive custom shape misses polar handle.pptx
Summary: FILESAVE .odp with non primitive custom shape misses polar handle.pptx
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected)
3.3.3 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Shapes Shapes-Custom PPTX-Shapes
  Show dependency treegraph
Reported: 2013-01-04 12:26 UTC by Regina Henschel
Modified: 2023-01-16 14:12 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

File with non-primitive custom shape with polar handle (10.89 KB, application/vnd.oasis.opendocument.presentation)
2013-01-04 12:26 UTC, Regina Henschel
anim gif for polar handle in action (137.20 KB, image/gif)
2017-01-06 22:00 UTC, Regina Henschel
shape position in LO (12.17 KB, image/png)
2017-01-06 22:01 UTC, Regina Henschel
shape position in PowerPoint (19.34 KB, image/png)
2017-01-06 22:02 UTC, Regina Henschel
after PowerPoint opens the *.odp file (20.71 KB, image/png)
2017-01-06 22:05 UTC, Regina Henschel
resaved be PowerPoint (47.72 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2017-01-06 22:10 UTC, Regina Henschel

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2013-01-04 12:26:23 UTC
Created attachment 72504 [details]
File with non-primitive custom shape with polar handle

Open attached file. It contains a not-primitive custom shape with a polar handle. Export the file to ppt, pptx or OOXML.
Open the exported files in PowerPoint 2010 or in PowerPoint 2013. PowerPoint reports an error with these files and cannot "repair" them.

On the other hand, of you open the attached file in PowerPoint 2013, it opens fine including the handle in the shape, and saving from PowerPoint 2013 into ppt, pptx or OOXML works and retains the handle.
Comment 1 Rainer Bielefeld Retired 2013-01-04 13:26:39 UTC
[Reproducible] with server  installation of  " (Build ID: c97a46ad210c4747af2309d0c75d9a0bdb642ed) TinderBox: Win-x86@6, Branch:master, Time: 2012-12-31_22:40:07   -  ENGLISH UI / German Locale  on German WIN7 Home Premium (64bit) with LO41 Masters User Profile:

Open with MS PPT Viewer:
* .ppt:  works, but shapes crippled
* .pptx MSO 2007: Message as reported
* .pptx OOXML: Message as reported

I will do some further research (when did that start and so on) soon
Comment 2 Rainer Bielefeld Retired 2013-01-04 16:07:23 UTC
When I try to open .pptx saved from with MS PPT Viewer I get the very general error Message "Error when access ...". I see this message in several other Bugs, but none of them is similar.

Please set Status to ASSIGNED and add yourself to "Assigned To" if you accept this Bug or forward the Bug if it's not your turf
Comment 3 Julien Nabet 2013-01-04 18:08:51 UTC
Could it be a kind of dup/related with fdo#58391 (put in "see also")?
Comment 4 Rainer Bielefeld Retired 2013-01-04 19:14:29 UTC
@Julien Nabet
I checked that one.
Might be related, but not a DUP! That sample document can be opened after saved as MSO2007 .docx from "4.1. Master" with MS PPT Viewer without problems.

I agree, if someone is fixing one of these 2, it might be appropriate to check the other one, too.
Comment 5 Regina Henschel 2013-01-04 20:25:57 UTC
LO exports the shape as element <a:prstGeom prst="rect">, but it need to be a <a:custGeom>. Otherwise you cannot define handle, path, and formulas.
Comment 6 Rainer Bielefeld Retired 2013-01-05 08:04:17 UTC
Already [Reproducible] with Server Installation of "LibreOffice 3.3.3  English UI/ German Locale [OOO330m19 (Build:301) tag libreoffice-] on German WIN7 Home Premium (64bit).
It seems that never worked?

I wanted to learn some more concerning self created shapes, you see the results in "Bug 59046 - FILESAVE as .pptx (MSO2007) destroys self constructed shapes", what is related and might simply be a DUP
Comment 7 QA Administrators 2015-01-05 17:51:59 UTC Comment hidden (obsolete)
Comment 8 Buovjaga 2015-01-20 16:33:29 UTC
At least shapes still vertically squished when saved as .ppt, both in LibO & PPT Viewer.

Win 7 Pro 64-bit Version:
Build ID: 07e84cae983c08afdba03018413a19d01abb3006
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-01-19_06:15:38
Comment 9 QA Administrators 2016-02-21 08:36:42 UTC Comment hidden (obsolete)
Comment 10 Regina Henschel 2016-02-21 11:20:42 UTC
The error still exists in LO5.2

The handles are missing.
Comment 11 Timur 2017-01-05 17:24:45 UTC
Regina, please test with master, now that Bug 59046 is resolved. 
Both LO-master saved ppt and pptx can be open in MSO now. 
Export to ppt (not good) and pptx (rather good) is different and bugs might be separated.
Please attach some screenshot with explanation for polar handle. 
Title should be updated to precisely define bug, and "invalid .pptx" is not correct.
Comment 12 Regina Henschel 2017-01-06 21:59:42 UTC
PowerPoint 2010 opens the file now without "repair" message. But the shapes are still wrongly exported. The handles are missing and the right shape is at a wrong position.

I have tested Version:
Build ID: 6bd7451ecd66417a4e8b8dff3874c15ba4d1536e
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-01-05_23:24:16
Locale: de-DE (de_DE); Calc: group
Comment 13 Regina Henschel 2017-01-06 22:00:45 UTC
Created attachment 130221 [details]
anim gif for polar handle in action

Notice, that the handle moves on a circle.
Comment 14 Regina Henschel 2017-01-06 22:01:17 UTC
Created attachment 130222 [details]
shape position in LO
Comment 15 Regina Henschel 2017-01-06 22:02:18 UTC
Created attachment 130223 [details]
shape position in PowerPoint
Comment 16 Regina Henschel 2017-01-06 22:05:25 UTC
Created attachment 130224 [details]
after PowerPoint opens the *.odp file
Comment 17 Regina Henschel 2017-01-06 22:10:18 UTC
Created attachment 130225 [details]
resaved be PowerPoint

This is the file after PowerPoint opens the *.odp file and it then resaved by PowerPoint to OOXML format. You can use it to examine, how PowerPoint uses a polar handle.
Comment 18 QA Administrators 2018-01-07 03:31:22 UTC Comment hidden (obsolete)
Comment 19 Regina Henschel 2018-01-07 14:20:35 UTC
The error still exists in Version: (x64)
Build ID: d73857e7d7f6a5bf38c6a2f396832faabaef65e2
CPU threads: 8; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2017-12-12_17:37:14
Locale: de-DE (de_DE); Calc: CL
Comment 20 QA Administrators 2023-01-16 03:21:45 UTC Comment hidden (obsolete)
Comment 21 Regina Henschel 2023-01-16 14:12:28 UTC
In Version: (X86_64) / LibreOffice Community
Build ID: 12e8d57e791bb1befc0716d4d02af7d1d1ccb4ae
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL threaded
the shapes are exported as <a:custGeom>. But the handles are missing. So it is still not fixed.