Bug 117048 - Impress: Hyperlink Does Not Work after PDF Export if Hidden Slides
Summary: Impress: Hyperlink Does Not Work after PDF Export if Hidden Slides
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
3.6.7.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export Hyperlink
  Show dependency treegraph
 
Reported: 2018-04-16 17:55 UTC by John
Modified: 2020-04-24 16:18 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
ODP Bug Example (11.81 KB, application/vnd.oasis.opendocument.presentation)
2018-04-26 20:58 UTC, John
Details
PDF with No Hidden Slides (15.72 KB, application/pdf)
2018-04-26 20:59 UTC, John
Details
PDF with Hidden Slide (14.78 KB, application/pdf)
2018-04-26 21:00 UTC, John
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John 2018-04-16 17:55:03 UTC
When exporting an Impress document to PDF, hyperlinks will not work in the PDF if the hyperlinks are on a slide after a hidden slide. 

Steps to reproduce:
1. Open new Impress document
2. Add text and hyperlink on 1st slide
3. Add 4 new slides
4. Add text and hyperlink on 5th slide
5. "Export to PDF" and the links in the PDF work
6. Right click on slide 3 and select "Hide Slide"
7. "Export to PDF" now link on last slide does not work
Comment 1 Buovjaga 2018-04-22 16:55:28 UTC
Please attach an example document.
Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Comment 2 John 2018-04-26 20:58:17 UTC
Created attachment 141662 [details]
ODP Bug Example

Attached is the ODP file used to generate an example of this bug.
Comment 3 John 2018-04-26 20:59:30 UTC
Created attachment 141663 [details]
PDF with No Hidden Slides

Attached is the exported PDF file when there are no hidden slides. Notice that the links on slide 1 and slide 5 work.
Comment 4 John 2018-04-26 21:00:38 UTC
Created attachment 141664 [details]
PDF with Hidden Slide

Attached is the exported PDF with the 3rd slide hidden. Notice the link on the last slide no longer works.
Comment 5 Buovjaga 2018-04-27 16:45:54 UTC
Repro with file. Thanks!

Arch Linux 64-bit
Version: 6.1.0.0.alpha1+
Build ID: 632bc11ce8fab1c4046ab24810b90a7ce9ac5914
CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on April 27th 2018

Arch Linux 64-bit
Version 3.6.7.2 (Build ID: e183d5b)
Comment 6 Martin Vogel 2018-10-10 14:18:33 UTC
Confirmed for 
Version: 6.0.6.2
Build-ID: 1:6.0.6-0ubuntu0.18.04.1
CPU-Threads: 8; BS: Linux 4.15; UI-Render: Standard; VCL: gtk3; 
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group

At least some of the links work, but on the wrong page of the PDF. 

It looks as if the links were inserted into the pages while counting the hidden slides as visible.
Comment 7 kilgus 2020-03-24 17:52:31 UTC
Confirmed for
Version: 6.3.5.2
Build-ID: 30(Build:2)
CPU-Threads: 4; BS: Linux 5.5; UI-Render: Standard; VCL: kde5; 
Gebietsschema: de-DE (de_DE.UTF-8); UI-Sprache: de-DE
Calc: threaded

All my hyperlinks to web pages stop working in exported pdf files as soon as they are located on any slide after the first hidden slide. This drove me almost crazy (where's my mistake?) today until I found the cause by exporting increasing subsets of pages to the point when the links stopped working.

For my type of documents this renders pdf exports almost useless - or I have to manage several documents with almost identical content to avoid hidden slides. Which is a logistical nightmare and error-prone.
Comment 8 Gizze 2020-04-24 15:56:38 UTC
In version 6.3.5 I also saw this behaviour (both Linux, Windows)
In version 6.4.3 I cannot reproduce it any longer (Windows, Linux not tested)

Version: 6.4.3.2 (x64)
Build ID: 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded
Comment 9 Buovjaga 2020-04-24 16:18:06 UTC
Thanks, Gizze. I confirm the problem no longer exists!

Arch Linux 64-bit
Version: 7.0.0.0.alpha0+
Build ID: 6a9c7409ee617b79c327dd7ea4de432f448b6006
CPU threads: 8; OS: Linux 5.6; UI render: default; VCL: kf5; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 24 April 2020