Sumatra PDF is a PDF, ePub, MOBI, CHM, XPS, DjVu, CBZ, CBR reader for Windows

Tabs disappear, how to re-create them

Sumatra is a great application, it seems lighweight and I use it a lot. Thanks to the developers.
When I have opened Sumatra a number of times, I have a number of tabs at the top which I can switch to however sometimes these tabs disappear and I have to find the tabs all over again (the documents have not been moved)

Looking at the settings file, hundreds are shown!. If some of these could become “favourites” that would be useful, I think?. but my favourties are always greyed out. Is there a simple way to do this? I can edit the text file, but which part? Now there is a section called ‘frequently read’ could I put the ones I want in there?

Sorry if this has been asked before,

This has been asked many times and I normally would move your question to the bottom of one of those threads. However that for you and others searching would require reading some out of date comments. So lets start afresh.

Tabs layout/position/history are volatile (held in memory) “Session Data” thus once lost they cannot be recovered.

In past versions (3.2 or before) they were “remembered” at the end of the session and on a clean exit got written into the settings file ONCE on exit, for next start-up

That causes problems
So when windows closed SumatraPDF for updates or any other reason the exit was not a controlled one by the user, and often Session Data was not stored from memory to file.

The current Pre-Release works differently in that it normally stores the Tabs list every time a tab is closed. So that if there is an uncontrolled exit the worst case is that there may only be one tab extra/missing rather than all missing.

I have shown in another thread that using pre-release it means there is now a way to save the current filenames. That can be used as a method to save and recall groups of favorite tabbed layouts. see the alternative suggestion to save session with date and time in Open files from *MULTIPLE* tabs in Acrobat (or other app)

It is not easy to build the list of “favorites” as such, since their data is held within each file entry (present or not) and thus not a separate list until read into memory.

Using pre-release there is a means to open a “Virtual PDF” which is a grouped set of individual files. Aimed only at PDFs with Bookmarks, it is possible to adapt for other usage, but I do stress it is very experimental. search vbkm https://forum.sumatrapdfreader.org/search?q=vbkm

So where does that leave you.

  1. Build a list of favorite files to use as a command to start-up SumatraPDF
  2. Start SumatraPDF with different saved settings files via -appdata switch so different groups appear from each shortcut
  3. Use the pre-release version to save a session with a given name and same as 1 above use those to start with a set of files.
  4. Play with launching /opening vbkm, which could be generated by a script, but has currently known odd limitations