Bug 149788

Summary: FILESAVE: PPTX: Shape changes after roundtrip
Product: LibreOffice Reporter: Xisco Faulí <xiscofauli>
Component: ImpressAssignee: Tibor Nagy <tibor.nagy.extern>
Status: ASSIGNED ---    
Severity: normal CC: aron.budea, kelemeng, rb.henschel, tibor.nagy.extern, xiscofauli
Priority: medium Keywords: bibisected, bisected, regression
Version: 7.5.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=149126
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 136372    
Attachments: Comparison before and after RT

Description Xisco Faulí 2022-06-30 12:05:48 UTC
Created attachment 181034 [details]
Comparison before and after RT

Steps to reproduce it:
1. Open attachment 100711 [details] from bug 79826 
2. Save it as PPTX
3. Reopen

-> The arrow in page 5 has changed. See comparison

Reproduced in

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: b55a0eea78837d43e77078e96729befb8e420773
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded

[Bug found by office-interoperability-tools]
Comment 1 Xisco Faulí 2022-06-30 12:06:39 UTC
Regression introduced by:

author	Tibor Nagy <nagy.tibor2@nisz.hu>	2022-06-03 15:32:50 +0200
committer	László Németh <nemeth@numbertext.org>	2022-06-23 16:02:58 +0200
commit db39e5359d7f9b4e42c6101dd75bc5e8d809ad41 (patch)
tree f70177f513027d5b24c5cab59d0fcc7945481b7c
parent 12fd3f7ba73d2fd03b88513160545fab8edc8a20 (diff)
tdf#149126 fix export of PPTX preset shapes

Bisected with: bibisect-linux64-7.5

Adding Cc: to Tibor Nagy
Comment 2 Regina Henschel 2022-06-30 12:40:28 UTC
Open the file in PowerPoint and directly save it again to ppt-format. Now do opening and saving to pptx in LO with that file. I see no error. So there is something special in the ppt file which is removed by modern PowerPoint.
Comment 3 Regina Henschel 2022-06-30 12:52:48 UTC
The opened file has in "Segments" in "Path" in "CustomShapeGeometry" a lot of segments with "Count" -21504. That is surely wrong, because "Count" has to be non negative. Such does not exist when the file is opened, which was resaved by PowerPoint. So I think, that there is something faulty in the file, which is repaired by PowerPoint. And the error is not in the export part, but we would need to repair the file on opening, as PowerPoint does it.