Bug 165262 - FILESAVE PPTX Triangle shape changes upon save
Summary: FILESAVE PPTX Triangle shape changes upon save
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All All
: medium normal
Assignee: Tibor Nagy
URL:
Whiteboard: target:25.8.0 target:25.2.2
Keywords: bibisected, bisected, regression
: 149788 (view as bug list)
Depends on:
Blocks: PPTX-Shapes
  Show dependency treegraph
 
Reported: 2025-02-15 18:08 UTC by Aron Budea
Modified: 2025-03-10 14:16 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample PPT (85.00 KB, application/vnd.ms-powerpoint)
2025-02-15 18:08 UTC, Aron Budea
Details
Comparison screenshot, before and after (80.69 KB, image/png)
2025-02-15 18:09 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2025-02-15 18:08:15 UTC
Created attachment 199215 [details]
Sample PPT

The attached PPT has a triangle shape from slide 4 of attachment 199209 [details] (a PPT from bug 165258) that was copied into a new presentation in PowerPoint, and saved as PPT.

Open it in Impress, save as PPTX and reopen, or open the result in PowerPoint.

=> The triangle shape turns into a series of pie shapes.

Note: the incorrectly aligned text is a different issue, and is reported in bug 165261. The sample in that bug report is the same slide in PPTX format, interestingly the shape is exported correctly in that case.

Oberved using LO 25.8.0.0.alpha0+ (60b64338c2a1236cdc98f3834cc77fc3006fc241) / Windows.

This is a regression from the following commit in 7.5, and its backport in 7.4 beta2. Adding CC: to Tibor Nagy.
https://cgit.freedesktop.org/libreoffice/core/commit/?id=db39e5359d7f9b4e42c6101dd75bc5e8d809ad41
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

"tdf#149126 fix export of PPTX preset shapes"

Bug 149788 is a regression from the same commit, but I'm not sure if it covers this bug, best to track separately for now.
Comment 1 Aron Budea 2025-02-15 18:09:02 UTC
Created attachment 199216 [details]
Comparison screenshot, before and after
Comment 2 m_a_riosv 2025-02-16 00:41:58 UTC
Reproducible
Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b4059c4b9ae2230d9c6d722d457dca2216ddd581
CPU threads: 16; OS: Windows 11 X86_64 (build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (es_ES); UI: en-US
Calc: CL threaded
Comment 3 Commit Notification 2025-02-24 13:23:15 UTC
Tibor Nagy committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/86d36ee56521438069504fbacff8dc2aff3a1afc

tdf165262 PPTX export: fix shape export regression

It will be available in 25.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Tibor Nagy 2025-02-24 13:38:53 UTC
*** Bug 149788 has been marked as a duplicate of this bug. ***
Comment 5 Gerald Pfeifer 2025-03-01 23:33:13 UTC
I could reproduce the problem with 

  Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
  Build ID: f9b9bf030618f66eccf9168413f1935ac521f161
  CPU threads: 12; OS: Linux 6.13; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US

i.e., the 20250219 snapshot and a later one

  Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
  Build ID: 1fc03eaed2899ac041f660f54cb1facb71390ccf
  CPU threads: 12; OS: Linux 6.13; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US

Last night's snapshot has this fixed:

  Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
  Build ID: a91494780bb59afe8c971003e6b809f1e66df050
  CPU threads: 12; OS: Linux 6.13; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US
Comment 6 Commit Notification 2025-03-03 14:47:32 UTC
Tibor Nagy committed a patch related to this issue.
It has been pushed to "libreoffice-25-2":

https://git.libreoffice.org/core/commit/63ff2816e3fbd4c820ddb8194c7df3408c05a330

tdf165262 PPTX export: fix shape export regression

It will be available in 25.2.2.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.