Remembering tabs the way Firefox does

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
commodore
Member
Member
Posts: 154
Joined: 2005-08-03, 12:55 UTC

Remembering tabs the way Firefox does

Post by *commodore »

Is there any setting I don't know yet of, which could make my Total Commander remember open tabs the way Firefox does? Which means in case of an unexpected crash, outage, freezing etc., the opened tabs would be the same next time I launch Total Commander.
From what I can see, the tabs are now saved only when I close Total Commander "regularly". This setting would probably mean saving them each time you change their order or open/close a tab.
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Assign this command cm_ConfigSaveSettings to a toolbar button.

Also you can right click on a tab and choose Save to/Load from file
User avatar
commodore
Member
Member
Posts: 154
Joined: 2005-08-03, 12:55 UTC

Post by *commodore »

Is cm_ConfigSaveSettings the same as the Configuration | Save Settings menu option?

Anyway, maybe this could be added to the "wishlist" - something like "flush/save settings every N minutes".
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

commodore wrote:Is cm_ConfigSaveSettings the same as the Configuration | Save Settings menu option?
Yes, it is.
User avatar
chrizoo
Senior Member
Senior Member
Posts: 349
Joined: 2008-03-12, 02:42 UTC

Post by *chrizoo »

Problem is, once TC has crashed, you can't magically go back in time and press the save button. Other than that, I like the cm_ConfigSaveSettings of course.

I fully support commodre's motion, would be a great idea for implementation.
User avatar
chrizoo
Senior Member
Senior Member
Posts: 349
Joined: 2008-03-12, 02:42 UTC

Post by *chrizoo »

commodore wrote: something like "flush/save settings every N minutes".


There is a cleverer way of doing that. My Firefox for example crashed loads of times and I never lost any tabs that would have been opened between the last interval save and the time of the crash. I think Firefox achieves this by writing the tab location (along side with the back/forward history) to a file immediately when it is opened. So when the program crashes, the tab has already been "saved" beforehand.

Same could be done in TotalCommander.
User avatar
commodore
Member
Member
Posts: 154
Joined: 2005-08-03, 12:55 UTC

Post by *commodore »

That's about what I in turn suggested under
http://ghisler.ch/board/viewtopic.php?t=25973

It's a great thing to get back to "where you were" after something unpredicted happened. :)
User avatar
chrizoo
Senior Member
Senior Member
Posts: 349
Joined: 2008-03-12, 02:42 UTC

Post by *chrizoo »

commodore wrote:That's about what I in turn suggested under
http://ghisler.ch/board/viewtopic.php?t=25973

It's a great thing to get back to "where you were" after something unpredicted happened. :)
support++
User avatar
wanderer
Power Member
Power Member
Posts: 1578
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

I don't have any of the "save" settings enabled so commodore's "Save/flush settings every N minutes" wouldn't work for me, however i find this request very useful. I guess it would be better if TC saved all tabs settings to a temp file every time something was altered in a tab (opening/closing a tab, file sorting, filtering, etc), and delete it when TC was closed normally (as chrizoo suggested).

There would probably be some problems with multiple TC instances though. Perhaps TC's ProcessID could be used as part of the filename...
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Support++
Its anoying if TC crashes and the current tabs are not saved.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think it would be useful to save current tabs every time when tab state is changed (e.g. new tab opened, changed or removed) to temporary file (e.g. under Application Data\Ghisler), so if user wants to load previous tabs, he can create button.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply