Bug 438979 - latex backward search with vscode
Summary: latex backward search with vscode
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 20.12.2
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-21 07:37 UTC by Ernst Reissner
Modified: 2021-07-28 20:11 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst Reissner 2021-06-21 07:37:50 UTC
SUMMARY


STEPS TO REPRODUCE
1. 
configure okular: 
Settings-->Cofigure Okular -->Editor
Choose 'custom test editor' and type as command: 'code --goto %f:%l'
2. compile a latex source with synctex. 
3. ensure the browse tool is enabled, click shift move to the proper place and press left mouse button... 

OBSERVED RESULT
nothing happens. 
Note that if on bash shell i just tpe in 'code --goto %f:%l' 
with proper replacement of %f and $l, then the editor behaves as expected. 
So maybe the problem is okular. 

EXPECTED RESULT
the editor shall move the cursor to the according place. 


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Yuri Chornoivan 2021-06-21 07:53:48 UTC
Does it work for TeXstudio or LyX for Windows?

Thanks in advance for your answer.
Comment 2 Ernst Reissner 2021-06-22 10:37:31 UTC
(In reply to Yuri Chornoivan from comment #1)
> Does it work for TeXstudio or LyX for Windows?
> 
> Thanks in advance for your answer.

I am sorry for letting you wait that long.. 
I had to ask my local admin to install texstudio first. 
Now i have but still, backward search does not work. 

I configured with texstudio which invokes 
texstudio --line %l

I wonder that it does not need the filename....
Comment 3 Laura David Hurka 2021-06-22 11:18:28 UTC
I don’t know Windows, but I am pretty sure this is a duplicate of Bug 436774: Okular is not allowed to run commands.
Comment 4 Albert Astals Cid 2021-06-22 15:17:28 UTC
(In reply to David Hurka from comment #3)
> I don’t know Windows, but I am pretty sure this is a duplicate of Bug
> 436774: Okular is not allowed to run commands.

I would tend to disagree, 436774 seems a dbus discoverability issue, okular doesn't need to run commands for 436774