← Back to team overview

qpdfview team mailing list archive

Re: [Question #678795]: How to copy or rename a unique instance

 

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

Adam Reichold posted a new comment:
Hello therapon,

glad that you could help yourself. Just if anyone stumbles upon this in
the future: An unique instance is currently nothing but a distinct value
in the column "instanceName" of the "tabs_v5" database table that is
part of qpdfview's database usually located at
"~/.local/share/qpdfview/qpdfview/database". (The table is used to
(re)store the opened tabs of any given qpdfview session, i.e. a unique
instance is just a set of open tabs.)

So the query the instance, use for example "SELECT DISTINCT instanceName
FROM tabs_v5;" whereas "UPDATE tabs_v5 SET instanceName='foo' WHERE
instanceName='bar'" would rename instance "bar" into "foo".

Best regards,
Adam

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