Bug 104002 - Bad PDF structure in GS51-GettingStartedLO.pdf
Summary: Bad PDF structure in GS51-GettingStartedLO.pdf
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 104180 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-11-18 08:46 UTC by Ulrich Windl
Modified: 2022-01-12 12:02 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
evince 3.3 screenshot (126.41 KB, image/png)
2020-10-12 01:27 UTC, Howard Johnson
Details
Okular 1.3.2 view (107.59 KB, image/png)
2020-10-12 01:32 UTC, Howard Johnson
Details
FireFox 81 view (141.95 KB, image/png)
2020-10-12 01:40 UTC, Howard Johnson
Details
Screenshot of GS64 guide in Foxit reader 9.2.3 (123.32 KB, image/png)
2020-10-12 02:04 UTC, Ming Hua
Details
GS6.4 evince 3.30 screenshot (73.43 KB, image/png)
2020-10-13 06:11 UTC, Howard Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Windl 2016-11-18 08:46:41 UTC
When viewing GS51-GettingStartedLO.pdf with evince PDF viewer, I see the following when looking at the bookmarks:
At the top level there is: Copyright, Contributors, Feedback, Acknowledgments, Publication date, Preface, Chapter 1

When I open Chapter 1, the last item in Chapter 1 is "Chapter 2", and inside Chpater 2 there are chapters 3 to 14 and Appendix a

I guess the structure is not what it is supposed to be.
Comment 1 Aron Budea 2016-11-19 04:03:07 UTC
Indeed, same with FoxitReader.
Checking the ODT file available at [1], I noticed navigator sidebar pane doesn't list Chapter 1 and Chapter 2.

[1] https://www.libreoffice.org/get-help/documentation/
Comment 2 Aron Budea 2016-11-26 06:34:18 UTC
*** Bug 104180 has been marked as a duplicate of this bug. ***
Comment 3 Aron Budea 2016-12-02 20:19:25 UTC
I noticed that in Format -> Paragraph..., on Outline & Numbering tab, Outline level is "Body text" for titles of chapters 1&2, and "Level 1" for the other chapters. However, the field is uneditable. I'm not sure where it's set...

Olivier, do you know if fixing this is a simple change in the document somewhere else, or something is actually wrong with the file?
Comment 4 sdc.blanco 2020-10-11 22:24:27 UTC
How does GS64-GettingStarted.pdf look in evince? Changing to NEEDINFO
Comment 5 Howard Johnson 2020-10-12 01:27:19 UTC
Created attachment 166279 [details]
evince 3.3 screenshot

Showing: https://wiki.documentfoundation.org/images/9/97/GS51-GettingStartedLO.pdf after saving download with Firefox, then opening the saved pdf with evince.
Comment 6 Howard Johnson 2020-10-12 01:32:12 UTC
Created attachment 166281 [details]
Okular 1.3.2 view
Comment 7 Howard Johnson 2020-10-12 01:40:14 UTC
Created attachment 166282 [details]
FireFox 81 view

Seems like the creation of this PDF is wrong, not the viewers
Comment 8 Ming Hua 2020-10-12 02:04:27 UTC
Created attachment 166283 [details]
Screenshot of GS64 guide in Foxit reader 9.2.3

(In reply to sdc.blanco from comment #4)
> How does GS64-GettingStarted.pdf look in evince?
For me, GS64 no longer has the "nested chapter names" problem as initially reported, but has a different problem -- the first-level section names (like "Introduction" and "Choosing options for all of LibreOffice" shown in the screenshot) are not included in the PDF bookmarks at all.

Should I file a new bug?
Comment 9 Ulrich Windl 2020-10-12 06:32:08 UTC
(In reply to sdc.blanco from comment #4)
> How does GS64-GettingStarted.pdf look in evince? Changing to NEEDINFO

Unfortunately I'm not sure I have the very same file as used back in 2016.
For a version I found that was created "Mon 13 Mar 2017 01:54:29 AM CET" I could not reproduce the problem with evince-3.34.2 (which no longer is the same version as back in 2016, of course).

shasum of the version checked today:
559d2ef149e4c2a70d3b4a1269e70a2c2916b32  GS52-GettingStartedLO.pdf
Comment 10 sdc.blanco 2020-10-12 10:26:44 UTC
@Howard Johnson - thanks for confirming the problem with GS5.1 - but my question was about GS6.4.

@Ulrich -- thanks for trying to go back in time, but it seems more relevant to consider GS6.4, which is the current version.  (We can leave the Status here as "NEW" -- both from the original confirmation and from comment 5, 6, 7)

But -- to all:  Is it important to fix the problem with GS5.1 (or GS5.2)?  I suggest "no".  In which case, I suggest Resolving this bug as "WONTFIX"

@Ming - better to file a new bug report for GS6.4. if you think this is a problem.
Comment 11 Howard Johnson 2020-10-13 06:11:08 UTC
Created attachment 166331 [details]
GS6.4 evince 3.30 screenshot