Bug 169496 - FILESAVE PPTX XLSX Hidden image reappears after save and reload
Summary: FILESAVE PPTX XLSX Hidden image reappears after save and reload
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium normal
Assignee: Aron Budea
URL:
Whiteboard: target:26.2.0 target:25.8.4
Keywords:
Depends on:
Blocks: XLSX-Images
  Show dependency treegraph
 
Reported: 2025-11-17 16:18 UTC by Aron Budea
Modified: 2025-11-20 21:51 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Sample XLSX (one image hidden, another visible) (12.18 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2025-11-17 16:18 UTC, Aron Budea
Details
Sample PPTX (one image hidden, another visible) (34.38 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2025-11-17 16:19 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-11-17 16:18:40 UTC
Created attachment 204045 [details]
Sample XLSX (one image hidden, another visible)

Open and save either of the attached samples back to their formats. Both of them have a visible and a hidden image.

After reopening, or after opening the result in the respective Office application, both images are shown.

Observed with LO Version: 26.2.0.0.alpha0+ (2f5df988923560bcc0f822c9db39f6ccab0cc5a1) / Windows.

When opening the original files, the hidden image is actually hidden, so this is an export issue.
Comment 1 Aron Budea 2025-11-17 16:19:16 UTC
Created attachment 204046 [details]
Sample PPTX (one image hidden, another visible)
Comment 2 Aron Budea 2025-11-19 12:42:53 UTC
Already in 4.0.0.3.
Comment 3 Commit Notification 2025-11-20 08:45:03 UTC
Aron Budea committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/a913faf181afb8b8718711eba0ad0cceec961f01

tdf#169496 oox: hidden images in PPTX/XLSX shown after roundtrip

It will be available in 26.2.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 Commit Notification 2025-11-20 21:51:21 UTC
Aron Budea committed a patch related to this issue.
It has been pushed to "libreoffice-25-8":

https://git.libreoffice.org/core/commit/5a22c7cd10014ec6919b19a00b2861e7be4ce8d0

tdf#169496 oox: hidden images in PPTX/XLSX shown after roundtrip

It will be available in 25.8.4.

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.