Bug 182313 - qdbus-based reload document feature
Summary: qdbus-based reload document feature
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-29 16:14 UTC by rusconi
Modified: 2009-01-29 16:22 UTC (History)
0 users

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 rusconi 2009-01-29 16:14:42 UTC
Version:            (using KDE 4.2.0)
Installed from:    Compiled From Sources

Hello, as a heavy user of LaTeX, I like to edit my document in a text  editor and use a Makefile-base approach to .tex files' compilation and display as pdf-rendered files. 

I like the way I work with xpdf right now. By launching an xpdf process with the -remote "title" option, I can then access that specific process by "title" (see example below). When I compile my LaTeX sources into a pdf file, I can instruct the running xpdf process (which I identify with a title string) to reload the newly generated pdf file **only when the compilation successfully finished**.

To start xpdf:
==============

xpdf -remote "myfile-server" myfile.pdf &

To elicit a file reload:
========================

xpdf -remote "myfile-server" -reload


Would it be possible to setup such kind of system for okular which I'm eager to put into work in my workflow ?

Also, would it be possible to have the F5 (File->reload menu) feature callable from qdbus. I tried, but found that /okular/okular__Shell/actions/* does not contain the reload action. 

Thanks for listening.

Filippo
Comment 1 Pino Toscano 2009-01-29 16:22:07 UTC
$ qdbus org.kde.okular-<pid> /okular reload