Bug 308690 - Inverse search not working with forward search in the same time
Summary: Inverse search not working with forward search in the same time
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.14.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-20 03:46 UTC by Sergey Daikov
Modified: 2014-05-08 09:20 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Daikov 2012-10-20 03:46:34 UTC
Lyx start view SyncTeX PDF file by command
okular lyx-notes.pdf  
and inverse search worked well (with command lyxclient -g /tmp/lyx_tmpdir.MT9825/lyx_tmpbuf2/lyx-notes.tex 418)

When Lyx start view SyncTeX PDF file by forward search command
okular --unique "file:lyx-notes.dvi#src:273 lyx-notes.tex" 
all works well, but inverse search is not working,  
Okular dont run lyxclient command for inverse seach . 

Reproducible: Always

Steps to Reproduce:
1. 
cat >a.tex <<EOF
\documentclass{article}
\begin{document}
page1
\newpage
page2
\newpage
page3
\end{document}
EOF
2. pdflatex -synctex=1 a.tex
3. cat >/home/sergdkv/bin/lyxclient <<EOF
#!/bin/bash

( echo 
date
echo \$* 
echo  ) >$HOME/bin/lyxclient.log
EOF
chmod +x /home/sergdkv/bin/lyxclient 
4. okular a.pdf 
5. Configure -> Editor options 
   Editor : Custom text editor
   Command : /home/sergdkv/bin/lyxclient  -g %f %l
6. goto page 2
7. press shift + left mouse button
8. cat ~/bin/lyxclient.log 

Сб. окт. 20 14:29:18 VLAT 2012
-g /home/sergdkv/tmp/a.tex 7
   THIS IS OK
9. exit for okular
10.   rm ~/bin/lyxclient.log 
11. okular --unique "file:a.pdf#src:7 a.tex"
12. press shift + left mouse button on "page3"
13. exit
14.  cat ~/bin/lyxclient.log 
      cat: /home/sergdkv/bin/lyxclient.log: No such file ...
THIS IS BAD.  inverse search in not working
Actual Results:  
 14.  cat ~/bin/lyxclient.log 
      cat: /home/sergdkv/bin/lyxclient.log: No such file ...
THIS IS BAD.  inverse search in not working

Expected Results:  
8. cat ~/bin/lyxclient.log 

Сб. окт. 20 14:29:18 VLAT 2012
-g /home/sergdkv/tmp/a.tex 7
Comment 1 Sandro Mani 2012-11-21 22:59:44 UTC
I cannot reproduce this, it works as expected here. okular-4.9.3-1.fc19.x86_64
Comment 2 Albert Astals Cid 2012-11-21 23:18:43 UTC
Sergey, can you reproduce in okular from 4.9.3?
Comment 3 Albert Astals Cid 2014-05-08 09:20:52 UTC
No answer for years.