View Single Post
Old 12-12-2009, 10:51 AM   #6
Mackx
Guru
Mackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to beholdMackx is a splendid one to behold
 
Posts: 999
Karma: 19985
Join Date: Dec 2008
Location: Netherlands
Device: iRex DR1000S
Startup behaviour

The functionality I created until now only creates short-cuts for all documents that are started and allows you to start-up, after power-up, on the location where the recent-opened-file-short-cuts are stored.

The next step will be to automatically start with the last read document. I can choose between the following solutions:
1) start only with the document that was 'open' during shutdown.
2) start with the last opened document (whether it was still open at shut-down or not).

The reason that I list the second option is because I normally first close any document that I am reading with FBReader before shutting down (I am not sure if FBReader is storing the read position). The 2nd will also be easier to implement ofcourse... For the fist solution I have to detect if the last opened document is still open.
Should both be implemented with a user choice?

What to do if several documents are open? Detect which document is visible (at the top) and use that one? Open all? What if the folder-view or Settings was the 'top-document'?

And then there is xournal, it can be started as an application directly (so it will not be stored as short-cut) or you can start it with a document (will be stored as short-cut) but change to an other document while opened (will not be detected). So what to do after power-up?
Same is ofcourse valid for FBReader, evince, midori.

Please let me hear your opinion, how should a 'Start Last Document' feature work?

Last edited by Mackx; 12-13-2009 at 03:23 PM. Reason: I types ereader but ment FBReader
Mackx is offline   Reply With Quote