← Back to team overview

qpdfview team mailing list archive

Re: [Question #403748]: Feature request: Get current page of file using dbus

 

Question #403748 on qpdfview changed:
https://answers.launchpad.net/qpdfview/+question/403748

    Status: Open => Answered

Adam Reichold proposed the following answer:
Hello,

The per_file_settings table in the database is not really meant for this
purpose: As you already found out, the file path column is actually a
hash of the file path so that this table does not act as a kind of
accidental history of opened documents as the hash is enough to look up
the settings when the file is opened.

I also think that the D-Bus interface is definitely the right place for
this to go and will update it as soon as I can to include a
"currentPage" method supplying either the current page of the current
tab or -1 if not tab is available.

Best regards,  Adam.

P.S.: You can also trigger saving the database via the D-Bus interface
using the "saveDatabase"  method.

-- 
You received this question notification because your team qpdfview is an
answer contact for qpdfview.