[okular] [Bug 519465] 'Contents' tab is in the sidebar for some pdf files but not others. Even when they all have headings. Why?
Sune Vuorela
bugzilla_noreply at kde.org
Thu Apr 30 10:34:44 BST 2026
https://bugs.kde.org/show_bug.cgi?id=519465
Sune Vuorela <kde at pusling.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kde at pusling.com
--- Comment #7 from Sune Vuorela <kde at pusling.com> ---
(In reply to Andrew Steele from comment #6)
> Created attachment 191929 [details]
> 4 files in the zip, 2 are the origionals and the other 2 recent copies.
>
> Bug is not resolved and agree it may not be Okular, however at this stage I
> don't know where the issue lies. There has been a number of minor release
> of Libreoffice since Feb 2, but I have tested an archived version, archived
> on Dec 12 2015. Same result.
Please note that the Contents section comes from the Outline in the pdf. It is
not a matter of parsing headings, but rather utilizing a specific set of
document data present in the document.
In your zip file, there is a 20k size difference between the one with outline
and the one without.
One can also by opening the pdf files in a text editor and scrolling to the end
see the 'xref' section are much bigger. This is often a sign of a 'more
complex' document.
One can also in the big document see in the Root object (252) that there is a
/Outlines 244 0 R reference to object 244 for the outline.
The objects 244-248 references an outline with a single top level header (245)
and 3 subheaders (246-248)
All of this is missing in the second smaller and simpler document.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list