Feature request: track instances

Asked by Arnaud Schmittbuhl

I am used to work with different qpdfview sessions.
 1/ qpdfview --unique --instance tex ... (3 files in the tex instance)
 2/ qpdfview --unique --instance doc ... (7 files in the doc instance)
 3/ qpdfview --unique --instance somethingelse ... (lots of files in the se instance)

After a while, if I want to reload the session 2 vith 7 files, I have to remember the instance name, and it's sometimes hard... So, I make it the hard way and look into the sqlite database but maybe one could add a tab somewhere whith all those instance names. That could allow us to easely reload all the files of one specific instance.

thx in advance,
Arnaud

Question information

Language:
English Edit question
Status:
Solved
For:
qpdfview Edit question
Assignee:
No assignee Edit question
Solved by:
Adam Reichold
Solved:
Last query:
Last reply:
Revision history for this message
Best Adam Reichold (adamreichold) said :
#1

Hello Arnaud,

Thanks for taking the time to report this. As the instance name is used to register the instance on D-Bus, it would complicate matters considerably to make it changeable when the program is already running, i.e. making instances switchable. But as a helper, I think that it could suffice to display a small dialog box containing a list of possible instances from which the user can then choose the desired instance or abort? (E.g. accessible by a "--choose-instance" command-line option.)

What do you think? If you agree, I'd propose transforming this into a wishlist bug and targeting it for milestone 0.4.6 since 0.4.5 is already scheduled to be released next weekend and there is a lot of confusion around the current change set as is. (Maybe Benjamin could help here, as I currently don't have regular internet access.)

Best regards, Adam.

Revision history for this message
Arnaud Schmittbuhl (aschmittbuhl) said :
#2

Thanks Adam Reichold, that solved my question.

Revision history for this message
Arnaud Schmittbuhl (aschmittbuhl) said :
#3

I fully agree with your suggestion, thanks for your great work!