Bug 156184 - Bullets added when saving as PPTX
Summary: Bullets added when saving as PPTX
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.4.0.0 beta1+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:pptx, regression
Depends on:
Blocks: Impress-Bullet-Number PPTX-Paragraph
  Show dependency treegraph
 
Reported: 2023-07-06 19:26 UTC by Stephen Zemlicka
Modified: 2023-08-19 12:16 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Original Template File (36.89 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2023-07-06 19:28 UTC, Stephen Zemlicka
Details
This is an example of the problem (36.90 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2023-07-06 19:30 UTC, Stephen Zemlicka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Zemlicka 2023-07-06 19:26:01 UTC
Description:
When saving a PPTX file, bullets are created that don't appear in Impress but do appear in Powerpoint.

In my case, I have PPTX files I use as templates.  When opened and saved, hidden bullets are created by Impress.  They do not show up in Impress but when opened in Powerpoint, they do appear.  This also occurs if the slides are copied to a new presentation and saved using Impress.

Steps to Reproduce:
1. Open Example template.
2. Save As another file
3. Open new file in Powerpoint

Actual Results:
Bullets are created for every line in slides 2 and beyond.  Bullets do not appear in Impress but do appear in Powerpoint and need to be manually removed.

Expected Results:
No visible bullets should show in Powerpoint if they are not in Impress.  Minimally, I would expect to see the bullets in Impress.  But ideally, the hidden bullets should not be created at all.


Reproducible: Always


User Profile Reset: No

Additional Info:
Noticed a similar bug https://bugs.documentfoundation.org/show_bug.cgi?id=155240
One difference is this is the Callibri font and not Arial.  May be unrelated.

This has been going on for well over a year but I haven't had a chance to report it until now.

Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 16; OS: Linux 6.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
7.5.3-2
Calc: threaded
Comment 1 Stephen Zemlicka 2023-07-06 19:28:36 UTC
Created attachment 188238 [details]
Original Template File

In this example, which I believe was created with a much older version of Impress, no bullets are present when opening from either Impress or Powerpoint.
Comment 2 Stephen Zemlicka 2023-07-06 19:30:07 UTC
Created attachment 188239 [details]
This is an example of the problem

This is a result of opening the original template file and Save As new file.  Bullets are not visible in Impress but are visible in Powerpoint.
Comment 3 Stéphane Guillou (stragu) 2023-07-23 16:03:37 UTC
Thanks for the report, Stephen!

Reproduced in recent master build:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 77fca616e0bd79e0b405fd0b3543cf8e94e15df3
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

And since 7.4:

Version: 7.4.7.2 / LibreOffice Community
Build ID: 723314e595e8007d3cf785c16538505a1c878ca5
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Bullets are added to all slides except the first one after saving as PPTX and opening on Office.com. They are not visible in LibreOffice.

Not reproduced in 7.3:

Version: 7.3.7.2 / LibreOffice Community
Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

In the resulting file's XML, e.g. in ppt/slides/slide2.xml, there are <a:buNone/> tags for 7.3 but they are gone since 7.4. The buNone element from the NoBullet class[1] is used to specify that "there should be no bulleting found within the paragraph where this element is specified". 

Checking with linux-64-7.4 repository, this started at commit 483d6945f15e733618f871b8d7db2f19f25752da which points to core commit:

commit 445d4ce232b8e8efaeb2605533fede1b71f52f30
author	Attila Bakos (NISZ) Thu May 26 17:04:54 2022 +0200
committer	László Németh Tue May 31 13:00:38 2022 +0200
tdf#147991 PPTX export: fix bullet indent regression
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135025

Attila, can you please have a look? Same cause as bug 150316.

[1]: https://learn.microsoft.com/en-us/dotnet/api/documentformat.openxml.drawing.nobullet?view=openxml-2.8.1