Bug 95193 - Wrong bookmarks in Impress PDF export with notes pages, notes not bookmarked but slides bookmarks doubled
Summary: Wrong bookmarks in Impress PDF export with notes pages, notes not bookmarked ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2015-10-20 09:25 UTC by Callegar
Modified: 2024-03-05 00:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Test case to reproduce the issue (11.96 KB, application/vnd.oasis.opendocument.presentation)
2015-10-20 09:25 UTC, Callegar
Details
PDF file with wrong bookmarks (19.24 KB, application/pdf)
2015-10-20 09:26 UTC, Callegar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Callegar 2015-10-20 09:25:55 UTC
Created attachment 119776 [details]
Test case to reproduce the issue

When you export some impress slides to PDF and ask the exporter to include notes pages, the bookmarks included in the PDF file are wrong.

Try the following:

- Open a presentation
- File -> Export as PDF...
- Set the export options "Export Bookmarks" (so you get bookmarks) and "Export notes pages"
- Do the PDF export
- Check the PDF file with a viewer, let the viewer show you the Bookmark links (e.g.: with Acroread 9, "View->Navigation Panels->Bookmarks"; with Okular: activate navigation panel from Settings menu and then press the "Contents" button; etc.).

See how the bookmarks are "Slide 1, Slide 2,...", followed again by "Slide 1, Slide 2,...", with the "Slide n" in the second set pointing to the n-th slide exactly like the "Slide n" in the first set. In other words, if your presentation has N slides, then the PDF contains 2N pages (N slides + N notes pages). The first "Slide n" points at page n and the second "Slide n" again points at page n. 

This is wrong.  The bookmarks should be "Slide 1, Slide 2,...", followed by "Notes 1, Notes 2,..." with "Notes n" pointing to the n-th *Notes* page and "Slide n" pointing to the n-th slide. In other words, with an N slide presentation and a 2N pages PDF as above, "Slide n" should point to page n and "Notes n" should point to page N+n.

The current wrong behavior gets particularly weird when, after having exported the slides and the notes pages you may want to use some PDF toolkit to separate the slides pages from the notes pages by breaking the PDF file in two files. In this case, you get a slides PDF file with two bookmarks per page and a notes PDF file with no bookmarks at all.

Please see the attached documents for an example of the wrong behavior.
Comment 1 Callegar 2015-10-20 09:26:35 UTC
Created attachment 119777 [details]
PDF file with wrong bookmarks
Comment 2 Buovjaga 2015-10-21 15:12:03 UTC
Reproduced.

Win 7 Pro 64-bit, Version: 5.0.2.2 (x64)
Build ID: 37b43f919e4de5eeaca9b9755ed688758a8251fe
Locale: fi-FI (fi_FI)

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735
Comment 3 Ben Aceler 2016-04-14 13:40:50 UTC
Reproduced every time. Ubuntu 14.04, LibreOffice 5.1.2~rc2, but reproducible on the earlier versions of LibreOffice too.
Comment 4 QA Administrators 2019-03-20 03:49:51 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2021-03-20 04:42:00 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2023-03-21 03:25:33 UTC Comment hidden (obsolete)
Comment 7 Callegar 2023-03-26 08:52:17 UTC
Possibly not relevant anymore, since in recent LibO versions I cannot find the "Export Bookmarks" option
Comment 8 Buovjaga 2023-03-26 09:09:00 UTC
(In reply to Callegar from comment #7)
> Possibly not relevant anymore, since in recent LibO versions I cannot find
> the "Export Bookmarks" option

Still repro. You find "Export bookmarks as named destinations" in the Links tab of the export dialog.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 74f398bb58510087cc4a11bb2253715771a2c6b2
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 22 March 2023