Bug 252879 - Navigation panel shown, when using --unique option together with synctex
Summary: Navigation panel shown, when using --unique option together with synctex
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.11.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-30 17:00 UTC by thomaslundgaard
Modified: 2010-10-14 19:59 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.5.3
Sentry Crash Report:


Attachments
Files to test this issue (42.25 KB, application/x-gzip)
2010-10-05 22:01 UTC, thomaslundgaard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thomaslundgaard 2010-09-30 17:00:33 UTC
Version:           0.11.1 (using KDE 4.5.1) 
OS:                Linux

I want to open a pdf file while using synctex to tell on which page to open on. I use the --unique option that makes okular reuse the application instance that already has the document open. When doing this, it shows the navigation panel, even though it wasn't shown before ("re")opening the pdf file.

Reproducible: Always

Steps to Reproduce:
1. Create a pdffile from a latex document, using synctex:
     pdflatex --synctex=1 main.tex
2. Open the created pdf with okular using --unique
     okular --unique main.pdf
(you need to use --unique here, even though there's no other okular windows open, otherwise the next call to "okular --unique" wont reuse this window, but thats a whole other bug, haven't reported it :))
3. Make sure the navigation panel is not shown, using F7
4. Open the same pdf file, requesting a specific location to open:
     okular --unique main.pdf#src:3main.tex

Actual Results:  
main.pdf is reopened in existing window, at correct location. But the navigation panel is shown.

Expected Results:  
navigation panel should not be shown.
Comment 1 Albert Astals Cid 2010-09-30 23:20:32 UTC
Should be fixed in KDE 4.5.2. If after updating you still have the problem please reopen this bug.

Thanks for using Okular
Comment 2 thomaslundgaard 2010-10-05 21:06:48 UTC
Have just updated to SC 4.5.2, but this bug is still not fixed:(

I think okular used to have the same issue when it automatically reloaded pdf files (upon changes on disc) and this has been fixed now, so that is problably the bug you referred to :)
Comment 3 Albert Astals Cid 2010-10-05 21:13:42 UTC
Then provide the files needed to reproduce the problem.
Comment 4 thomaslundgaard 2010-10-05 22:01:57 UTC
Created attachment 52255 [details]
Files to test this issue
Comment 5 thomaslundgaard 2010-10-05 22:02:32 UTC
Turns out issue only exists when the pdf contains a table of contents, that is when there's some content in the contents view in the sidebar.
Attached is files needed to reproduce, see comments in to of main.tex.
Comment 6 thomaslundgaard 2010-10-05 22:10:05 UTC
BTW, this issue also occurs if you're not using the synctex syncronization, but just opens okular as:
okular --unique main.pdf

Also, thanks for your fast replies, really feels like someone is concerned about my issue:)
Comment 7 Albert Astals Cid 2010-10-14 01:40:35 UTC
Should be fixed in 4.5.3 hope i did not break something else :D
Comment 8 thomaslundgaard 2010-10-14 09:17:13 UTC
Great, and thanks so much.. Could you maybe provide the commit number where you fixed it?
Comment 9 Albert Astals Cid 2010-10-14 19:59:52 UTC
You want r1185628 and r1185627