Bug 54037 - FILESAVE: Loss of internal hyperlinks in PPT/PPTX
Summary: FILESAVE: Loss of internal hyperlinks in PPT/PPTX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: high major
Assignee: Tibor Nagy
URL: None
Whiteboard: target:7.2.0
Keywords: filter:ppt, filter:pptx
Depends on:
Blocks: PPT PPTX-Hyperlink
  Show dependency treegraph
Reported: 2012-08-25 03:55 UTC by luiscarlos.contreras
Modified: 2022-05-18 06:50 UTC (History)
9 users (show)

See Also:
Crash report or crash signature:

Test files (comment 10) (511.31 KB, application/zip)
2016-10-28 19:38 UTC, Bastián Díaz
The hyperlink in the pptx file saved by Impress master (77.82 KB, image/png)
2021-01-29 09:24 UTC, NISZ LibreOffice Team
Clicking on the hyperlink of the second slide in slide show view of Impress (67.09 KB, image/png)
2021-01-29 09:26 UTC, NISZ LibreOffice Team
Interaction settings in the odp and pptx export (229.16 KB, image/png)
2021-01-29 09:28 UTC, NISZ LibreOffice Team

Note You need to log in before you can comment on or make changes to this bug.
Description luiscarlos.contreras 2012-08-25 03:55:38 UTC
Impress interaction works well when we assign an object to Navigate within the pages of the presentation, but to save the file the link is lost. In all formats.
Comment 1 A (Andy) 2012-12-26 15:28:40 UTC
Could you please provide more information how to reproduce this bug (the different steps), because in a first fast test it was not reproducible with LO (Win7 Home, 64bit).
Comment 2 luiscarlos.contreras 2012-12-27 22:33:05 UTC
Yes. Now the connections in LO when recording in Impress work well
in .ppt and .pps format (Power Point 97/200/XP/2003).
But in .pptx and .ppsx format (Power Point 2007/2010), the connections are

Slides with interaction with other slides.
With the intention of sailing dynamically by all the presentation.

2012/12/26 <bugzilla-daemon@freedesktop.org>

>   *Comment # 1 <https://bugs.freedesktop.org/show_bug.cgi?id=54037#c1> on bug
> 54037 <https://bugs.freedesktop.org/show_bug.cgi?id=54037> from A<stgohi-lobugs@yahoo.de>
> *
> Could you please provide more information how to reproduce this bug (the
> different steps), because in a first fast test it was not reproducible with LO
> (Win7 Home, 64bit).
>  ------------------------------
> You are receiving this mail because:
>    - You reported the bug.
Comment 3 A (Andy) 2013-02-23 15:40:11 UTC
Thank you very much and sorry for the delayed reply.

This bug is reproducible with LO (Win7 Home, 64bit) and is reproduced by the following steps:

1. Open Impress
2. Insert a second slide so that you have a presentation with at least two slides
3. Go to the second slide and insert / draw a rectangle
4. Select this rectangle and go to the menu item INSERT and select HYPERLINK
5. Go to TARGET IN DOCUMENT and select the first slide as the target and then apply and close the dialogue box
6. Save this file as odp, ppt and pptx files
7. Reopen these three files

ODP-File: Everything is fine with this file.
PPT-File: The hyperlink is lost.
PPTX-File: The hyperlink is lost.
Comment 4 Philip Timms 2015-02-15 20:31:31 UTC

This bug is still here and is a pain in the neck - everything works fine until I edit a ppt or pptx file in Impress - and then all hyperlinks disappear. 

It has been the case, as far as I can see, for the last several versions.

Can this be moved up the food chain for solution? regrettably some of us still have to work with ppt/pptx files in our organisations.
Comment 5 Uldis Kalniņš 2015-06-23 16:23:35 UTC
Tested on more platforms, bug is still present on
Comment 6 Robert Pollak 2016-09-09 12:37:40 UTC
Can someone please test whether this happens on export or import?
I.e. when opening the exported file in MS Powerpoint, is the link already lost?
Comment 7 Gaetano Di Stefano 2016-10-26 07:51:09 UTC
i have lo on debian.
i put a gallery image (arrow) and select. Right-click - interaction - next slide.
works well. Exportations in pdf works well.
i save odp and exit impress.

load impress, open mypres.odp all interactions are "no action".
Comment 8 Gaetano Di Stefano 2016-10-26 15:45:33 UTC Comment hidden (obsolete)
Comment 9 Cor Nouws 2016-10-27 11:28:32 UTC
versions is earliest version. ALso a problem in 3.3.0
Comment 10 Bastián Díaz 2016-10-28 19:36:23 UTC
In a small discussion about this issue in https://telegram.me/libreofficecommunity, I did some tests with the following results.

LO version: Version:
Build ID: 8f96e87c890bf8fa77463cd4b640a2312823f3ad
CPU Threads: 2; OS Version: Linux 4.7; UI Render: default; 
Locale: es-CL (es_CL.utf8); Calc: group

Document viewer: Evince 3.20.1 

OS version: Fedora 24 (64 bit) Budgie Desktop

Steps to reproduce:
1. Create a Open Document presentation with 2 slides
2. In the second slide insert different types of objects in duplicate to test two different methods interaccción. (Text, Shape, Gallery Object and Image)
3. To first group insert a Hyperlink to the first slide: Insert|Hyperlink, Document, target: Slide 1
4. To second group insert a Interaction to the fist slide: Select object, contextual menu, Interaction, Go to page or object, Target: Slide 1
5. Save and before closing, start a slideshow to testing hyperlinks
6. Save to other formats: *.ppt, *.pptx, *.uop and *.pdf
7. Open different files and test hyperlinks

Expected results:
Hyperlinks work in Open Document and all export formats.

Current results:
Before closing the original presentation, all hyperlinks work. This comparative table shows the results when reopening files saved with the same version of LibreOffice (and the document viewer). PPTX files was generated by "Office Open XML Presentation" entry into the save dialog.

Insert hyperlink method
|     | text | shape | gallery | image |
| odp |   ✓  |   ✓   |    x    |   ✓   |
| uop |   x  |   x   |    x    |   x   |
| pptx|   ✓* |   x   |    x    |   x   |
| ppt |   x  |   x   |    x    |   x   |
| pdf |   ✓  |   ✓** |    ✓**  |   ✓** |
* It works in edit mode, but not during presentation mode.
** Hyperlinks appear available but when selected indicates "no such file or directory"

Insert Interaction method
|     | text | shape | gallery | image |
| odp |   ✓  |   ✓   |    x    |   ✓   |
| uop |   x  |   x   |    x    |   x   |
| pptx|   x  |   x   |    x    |   x   |
| ppt |   ✓  |   ✓   |    ✓    |   ✓   |
| pdf |   x  |   x   |    x    |   x   |

Additional info:
I hope this information is useful for the purpose of this report (ppt / pptx). I'll open a different issue to PDF format document it is of interest to me.
Comment 11 Bastián Díaz 2016-10-28 19:38:13 UTC
Created attachment 128330 [details]
Test files (comment 10)
Comment 12 Silvain Dupertuis 2017-08-03 09:13:15 UTC
In my system(s), using LO 5 (up to 5.4) from Ubuntu or Windows
linked images 
- are lost when saving as pptx
- are preserved when saving as ppt

This is a real problem as I do multilingual presentation with a lot of images and regular updates, so that I can keep the multiple odp files small by putting all images in a subfolder which is common to the odp files.

But other users use Microsoft Powerpoint and I need the links to be preserved.

Fortunately, I can get around the problem by usint only the old ppt format.
Comment 13 QA Administrators 2018-08-22 02:36:02 UTC Comment hidden (obsolete, spam)
Comment 14 Buovjaga 2019-09-25 13:44:54 UTC
Using the test file from comment 10, the problem is still present both for ppt and pptx.

I am changing the meta bugs as they seem wrong. If someone has knowledge that this is a limitation of the PPT and PPTX file formats, please refer to some material that proves it.

Version: (x64)
Build ID: e1b51d4588b4b39592bb94dd5bb90de5e04d061e
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-23_09:16:11
Locale: fi-FI (fi_FI); UI-Language: en-US
Calc: threaded
Comment 15 NISZ LibreOffice Team 2021-01-29 09:24:38 UTC
Created attachment 169258 [details]
The hyperlink in the pptx file saved by Impress master

Still a problem in:

Version: (x64) / LibreOffice Community
Build ID: 7eb289c49cc7245ef3001a39be0c15d06bbe875b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL

The exported pptx contains the full file name reference in the Path field which was empty in the original. This makes the file open in the system default pptx viewer program.
Comment 16 NISZ LibreOffice Team 2021-01-29 09:26:27 UTC
Created attachment 169259 [details]
Clicking on the hyperlink of the second slide in slide show view of Impress

Clicking the hyperlink opens the same file with a different program instead of going to the first slide.
Comment 17 NISZ LibreOffice Team 2021-01-29 09:28:26 UTC
Created attachment 169260 [details]
Interaction settings in the odp and pptx export

Interactions disappear from the shapes and the images too. PP seems to have a similar feature on the Insert ribbon called Actions(?) so saving should be possible.
Comment 18 Commit Notification 2021-05-04 15:54:08 UTC
Tibor Nagy committed a patch related to this issue.
It has been pushed to "master":


tdf#54037 PPTX export: fix internal hyperlinks

It will be available in 7.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:

Affected users are encouraged to test the fix and report feedback.
Comment 19 HanoraSakura 2022-05-18 06:50:02 UTC Comment hidden (spam)