Bug 165041 - FILEOPEN EDITING: PPTX file does not show full slide contents in Impress
Summary: FILEOPEN EDITING: PPTX file does not show full slide contents in Impress
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
24.8.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-04 16:29 UTC by Roger D. Cook
Modified: 2026-01-12 09:03 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Presentation (PPTX) with music notation (659.99 KB, application/wps-office.pptx)
2025-02-04 16:32 UTC, Roger D. Cook
Details
Screenshoot (640.93 KB, image/png)
2025-02-05 22:09 UTC, m_a_riosv
Details
BadScreenshot (433.99 KB, image/png)
2025-02-05 22:22 UTC, Roger D. Cook
Details
New presentation with image (15.17 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2025-11-02 03:54 UTC, Roger D. Cook
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roger D. Cook 2025-02-04 16:29:49 UTC
Description:
The attached file contains music notation meant to be shown to a church congregation to sing. When opened, the music notation is not visible, but other elements are.

Steps to Reproduce:
1. Opened the attached file.


Actual Results:
The music is not visible, but other notations on the slide are. 


Expected Results:
Over the background, music notation (Two lines on most slides, full staff with notes and words) should be visible.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version information:
Version: 24.8.4.2 (X86_64)
Build ID: 480(Build:2)
CPU threads: 16; OS: Linux 6.12; UI render: default; VCL: kf6 (cairo+wayland)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Roger D. Cook 2025-02-04 16:32:06 UTC
Created attachment 198973 [details]
Presentation (PPTX) with music notation

This is the file that has issues showing the music notation. I have permission from the copyright holder to attach the file for debugging purposes.
Comment 2 m_a_riosv 2025-02-05 22:09:13 UTC
Created attachment 199005 [details]
Screenshoot

Is this right?

Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 3 Roger D. Cook 2025-02-05 22:21:34 UTC
That's what it's supposed to look like. Attaching "BadScreenshot" to show what I'm seeing.
Comment 4 Roger D. Cook 2025-02-05 22:22:16 UTC
Created attachment 199006 [details]
BadScreenshot
Comment 5 Gabor Kelemen (Collabora) 2025-02-06 14:02:55 UTC
I see the images with the music notation, in:

Version: 24.8.5.0.0+ (X86_64) / LibreOffice Community
Build ID: 7b11ebe90ae90560ffb56013abc9d405acd9389c
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: qt5 (cairo+xcb)
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded

and in newer linux-bibisect repos as well (and older like 7.0, 6.0 too); and under Windows with recent versions too.
Comment 6 raal 2025-02-11 20:52:14 UTC
No repro with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7da1497aa462e2b719aa9b308a749caf7b9a19b1
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 7 Buovjaga 2025-10-26 17:42:29 UTC
(In reply to Roger D. Cook from comment #4)
> Created attachment 199006 [details]
> BadScreenshot

That's strange as Impress doesn't seem to have any option to hide images.

If you create a new presentation and insert an image, is it displayed?
Comment 8 Roger D. Cook 2025-11-02 03:54:51 UTC
Created attachment 203677 [details]
New presentation with image

Freshly generated pptx with image.
Comment 9 Roger D. Cook 2025-11-02 04:00:53 UTC
I was able to verify that the issue is still present in:

> Version: 25.8.2.2 (X86_64)
> Build ID: 580(Build:2)
> CPU threads: 16; OS: Linux 6.17; UI render: default; VCL: kf6 (cairo+wayland)
> Locale: en-US (en_US.UTF-8); UI: en-US
> Calc: threaded

I created a new presentation and was able to embed an image and save it as both an odf and pptx. I was able to reopen it in LibreOffice successfully. I was also able to open it in OnlyOffice desktop editor successfully. 

> ONLYOFFICE Desktop Editors
> Community version 9.1.0.173 (snap)
Comment 10 Buovjaga 2025-11-02 06:53:00 UTC
What if you go to Help - Restart in safe mode, click Continue in safe mode and then open attachment 198973 [details], are the images still invisible?
Comment 11 Roger D. Cook 2025-11-03 14:31:08 UTC
The images are still invisible in safe mode.

In both cases, I can see the background image.
Comment 12 Roger D. Cook 2026-01-10 23:42:20 UTC
I did some digging in the attached PPTX. The background file which is rendered is a JPEG file, but the musical notation itself is stored in EMF files. 

Is there a chance that my specific environment may somehow lack the ability to render EMF files? Here's my current version information:

LibreOffice:

```
Version: 25.8.4.2 (X86_64)
Build ID: 580(Build:2)
CPU threads: 16; OS: Linux 6.18; UI render: default; VCL: kf6 (cairo+wayland)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
```

System:

```
$ cat /etc/*-release | sort | uniq
ANSI_COLOR="0;38;2;60;110;180"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
CPE_NAME="cpe:/o:fedoraproject:fedora:43"
DEFAULT_HOSTNAME="fedora"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f43/"
Fedora release 43 (Forty Three)
HOME_URL="https://fedoraproject.org/"
ID=fedora
LOGO=fedora-logo-icon
NAME="Fedora Linux"
PRETTY_NAME="Fedora Linux 43 (Workstation Edition)"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=43
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=43
RELEASE_TYPE=stable
SUPPORT_END=2026-12-02
SUPPORT_URL="https://ask.fedoraproject.org/"
VARIANT_ID=workstation
VARIANT="Workstation Edition"
VERSION="43 (Workstation Edition)"
VERSION_CODENAME=""
VERSION_ID=43
$
```
Comment 13 Buovjaga 2026-01-11 08:23:43 UTC
(In reply to Roger D. Cook from comment #12)
> I did some digging in the attached PPTX. The background file which is
> rendered is a JPEG file, but the musical notation itself is stored in EMF
> files. 
> 
> Is there a chance that my specific environment may somehow lack the ability
> to render EMF files? Here's my current version information:

Can you see the objects in the Navigator deck of the Sidebar? For me, in the first slide the Navigator shows 6 objects. There are two separate objects named "Picture 2", but they are actually somehow linked. The first one in the list represents the background image and the last one the "Precious cornerstone" notes. If I click the last one in the Navigator, it actually selects both objects in the presentation canvas. Then, if I carefully click and drag, both also appear as selected in the Navigator. Alternatively, hitting Delete gets rid of both.

Unzipping the file and examining ppt/slides/slide1.xml I see

<p:cNvPr id="313346" name="Picture 2" descr="sky-neutral4"/>

and

<p:cNvPr id="3" name="Picture 2" descr="All To Us v1a (Aaron).eps"/>

So the .eps extension is interesting.

When I open the .emf files found in ppt/media in a text editor and compare to some other .emf files found in our bug tracker, I see that yours have PDF-1.3 in the first line and then PDF-like instructions such as /Type /FontDescriptor. So maybe they indeed are .eps files in disguise https://en.wikipedia.org/wiki/Encapsulated_PostScript

Do you have the ghostscript package installed? https://packages.fedoraproject.org/pkgs/ghostscript/ghostscript/
Comment 14 Roger D. Cook 2026-01-12 03:46:30 UTC
I see the same thing in Navigator. 

Yes, Ghostscript is installed. I can view the emf files by using

$ ghostscript image10.emf
GPL Ghostscript 10.05.1 (2025-04-29)
Copyright (C) 2025 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
   **** Warning: File has some garbage before %PDF- .
Invalid number format: sign not at the start
Processing pages 1 through 1.
Page 1
>>showpage, press <return> to continue<<


The following errors were encountered at least once while processing this file:
        startxref offset invalid
        xref table was repaired

The following warnings were encountered at least once while processing this file:
        File has some garbage before %PDF-

   **** This file had errors that were repaired or ignored.
   **** The file was produced by: 
   **** >>>> PSNormalizer.framework <<<<
   **** Please notify the author of the software that produced this
   **** file that it does not conform to Adobe's published PDF
   **** specification.

GS>

Ghostscript shows the image initially, but when I press return, it has a larger, all white window.
Comment 15 Roger D. Cook 2026-01-12 03:54:16 UTC
Doing a little digging on the EPS file, I'm pretty sure that the program this company used to engrave their music is called Finale which has since been sunsetted. This software could generate EPS files for the engraving.
Comment 16 Buovjaga 2026-01-12 09:03:38 UTC
I tried in a distrobox container of Fedora 42, which doesn't even have ghostscript installed and the file displays fine with LibreOffice 24.8. A container is of course not the same as a full OS.