Extend D-Bus interface to support control of view modes
Bug #1337981 reported by
Wayt Gibbs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qpdfview |
Fix Released
|
Wishlist
|
Adam Reichold |
Bug Description
To enable the qpdfview view mode to be controlled by an outside application or script, please add (and document) D-bus objects/messages to include at least
--a way to open a pdf in fullscreen
--a way to select among the available page view modes (two-page facing, toggle continuous on/off, etc/)
For use case details, see question #251188
Thanks!
Wayt
Related branches
Changed in qpdfview: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in qpdfview: | |
status: | Triaged → In Progress |
assignee: | nobody → Adam Reichold (adamreichold) |
Changed in qpdfview: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hello Wayt,
I created and linked a branch that extends the D-Bus interface to allow for a rudimentary level of remote control like flipping pages, jumping to labeled bookmarks or controlling the view mode (and of course what can also be done through the command line like opening a file).
Please build the branch and try out if the extended interface already meets your requirements or whether we need to change or add methods or properties. After the interface is finished, we need to write some kind of documentation for it, e.g. a section in manpage or within the online help.
Best regards, Adam.
P.S.: The simplest way to interact with this, is probably to use the "qdbusviewer" tool and trigger the methods manually. Just look for the "local.qpdfview" service and its "MainWindow" object.