Bug 249345 - running pdflatex on source with hyperref package toggles display of navigation panel
Summary: running pdflatex on source with hyperref package toggles display of navigatio...
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.11.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 270955 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-28 18:57 UTC by postdoc38
Modified: 2011-04-14 18:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.5.2


Attachments
latex source without hyperref package (219 bytes, text/x-tex)
2010-08-28 19:07 UTC, postdoc38
Details
latex source with hyperref package (189 bytes, text/x-tex)
2010-08-28 19:08 UTC, postdoc38
Details
latex source with hyperref package loaded (397 bytes, text/x-tex)
2010-08-28 20:20 UTC, postdoc38
Details
latex source without hyperref package (298 bytes, text/x-tex)
2010-08-28 20:23 UTC, postdoc38
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postdoc38 2010-08-28 18:57:35 UTC
Version:           0.11.1 (using KDE 4.5.0) 
OS:                Linux



Reproducible: Didn't try
Comment 1 postdoc38 2010-08-28 19:05:48 UTC
My apologies for the mess (no report above), I had trouble with my internet connection when filling the bug page.

First, my warmest thanks for okular to the developpers, which I really like to view pdf produced by pdflatex.

Here is my problem: I always run okular without navigation panel to save screen space (that is, "show navigation panel" is unchecked in settings).

Strangely, if I work on a latex source with the "hyperref" package loaded, the navigation panel, then thumbnails panel appear in okular as if by magic when I compile (pdflatex) the source file.

The "show navigation panel" is then still unchecked in settings, though.
I can make those left panels disappear again with F7, or by checking and unchecking the "show navigation panel" setting. Strange...
Comment 2 postdoc38 2010-08-28 19:07:24 UTC
Created attachment 51062 [details]
latex source without hyperref package

running this file does not make the navigation panel appear.
Comment 3 postdoc38 2010-08-28 19:08:48 UTC
Created attachment 51063 [details]
latex source with hyperref package

running pdflatex on this source twice, while appropriate pdf is loaded in okular with "show navigation panel" unchecked makes navigation panel appear.
Comment 4 postdoc38 2010-08-28 20:20:22 UTC
Created attachment 51064 [details]
latex source with hyperref package loaded

steps to reproduce:

1) run "pdflatex withhref.tex"
2) run "okular withhref.tex"
3) make sure okular's navigation panel is hidden
4) run "pdflatex withhref.tex"    => navigation panel appears
5) run "pdflatex withhref.tex"    => thumbnails panel appears
Comment 5 postdoc38 2010-08-28 20:23:39 UTC
Created attachment 51065 [details]
latex source without hyperref package

reproducing the above steps (with appropriate name changes) works as expected.
Comment 6 Albert Astals Cid 2010-09-04 02:08:38 UTC
SVN commit 1171493 by aacid:

restore sidebar visibility correctly
BUGS: 249345
FIXED-IN: 4.5.2


 M  +1 -1      part.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1171493
Comment 7 postdoc38 2010-09-04 13:59:03 UTC
Wow, that was fast! Thank you very much for your work, Albert!
Comment 8 Pino Toscano 2011-04-14 15:39:16 UTC
*** Bug 270955 has been marked as a duplicate of this bug. ***
Comment 9 jason.morton 2011-04-14 18:29:19 UTC
Here's a workaround if you are stuck at okular 0.11.1 for some reason.  In your latex header, use
\usepackage[bookmarks=false]{hyperref}