Page 1 of 1

Restore session

Posted: 2008-03-28, 17:14 UTC
by DrShark
If to start TC after crash, killing in Task Manager or unexpected PC reboot, it restores initial state of session.
I suggest to add a possibility to restore the TC's process death state :)
This is very good function, used in most of modern web browsers, even IE 8 will have it :)
I'd like to see it in TC too.

Posted: 2008-03-28, 17:55 UTC
by StatusQuo
Support, this feature sounds nice -
if it doesn't noticably slow down TC and supports multiple instances.

According to what I have in mind, every dir/tab change would result in writing a string to the INI file:
Tab1Count=n
Tab1n=d:\path\
...where "1" would be the instance number, "n" the tab number.

Posted: 2008-03-28, 22:09 UTC
by sqa_wizard
Well, sounds nice ... but note:

This function makes sense if you had a lot of tabs open.
It is like a continuously "Save whole tab configuration", resulting in a write access with each change of directory.
The more tabs you have open, the more data has to be written, the more time you have to spend.

BTW: This is a real USB-stick killer !

At a web-browser, the time to retrieve the content of the next web-site is quite longer than the save of new tab config.
At TC the change to another directory is done within a 10th of a second, while the save of new tab config will last at least another second.

A noticeable slowdown will always be seen, even worse on an USB-Stick or a wincmd.ini file on a server share.

For the sake of performance: I'm against this suggestion.

Posted: 2008-03-28, 22:19 UTC
by StatusQuo
2sqa_wizard
It is like a continuously "Save whole tab configuration", resulting in a write access with each change of directory.
The more tabs you have open, the more data has to be written, the more time you have to spend.
Not neccessarily, only the changed ones - that means only one value to add, remove or change.
Except for commands like cm_CloseAllTabs...
BTW: This is a real USB-stick killer !
To prevent this and for having better performance it should be optional, of course.

Posted: 2008-03-28, 22:37 UTC
by Postkutscher
Strongly not support!

Repair your hardware and all will be ok."unexpected" is not normal.

Posted: 2008-03-28, 23:42 UTC
by DrShark
2Postkutscher
Strongly not support!

Repair your hardware and all will be ok."unexpected" is not normal.
Well, fine, I'll give you an example:
I've opened alot of tabs, and simply try to view some file with lister.
That's all very good until some lister plugin offers me Total Commander crash ;)
Now I have to restart TC and reopen all tab... stop... at first I need to remember what dirs were opened that time?

Sorry for the the style used to describe the reason of wish... But this fun story happens often and really annoying to me.

Posted: 2008-03-28, 23:53 UTC
by Postkutscher
2DrShark
I understand, what you want to say, but I am staying at my opinion. Don`t use any unstable plugins and have fun. I personnally use approx. 50 different plugins and have one Total`s crash in 3-7 days. It is not so annoying , that special measures would be nesessary.

Posted: 2008-03-29, 00:08 UTC
by DrShark
Yeah, your point is excellent: use only stable plugins (e.g. only offered on ghisler.com), buy UPS, buy good antivirus :)
I don't want to dispute with you about it here, meanwhile I recommend you to visit https://addons.mozilla.org/en-US/firefox/addon/2324 and look at downloads counter :)

Posted: 2008-03-29, 00:20 UTC
by StatusQuo
2Postkutscher
It is not so annoying
To you.
StatusQuo wrote:it should be optional, of course
There won't be a drawback for you in this case.

Posted: 2008-03-29, 00:25 UTC
by Postkutscher
DrShark wrote:Yeah, your point is excellent: use only stable plugins (e.g. only offered on ghisler.com), buy UPS, buy good antivirus :)
Exactly . Otherwise you will always dissatisfied by various software.

Mozilla is just a curiously freeware and not a point from our discussion. Just FYI,I dont use it to by the same reason. Instability is fatal.

Posted: 2008-03-29, 13:03 UTC
by DrShark
sqa_wizard wrote:It is like a continuously "Save whole tab configuration", resulting in a write access with each change of directory.
The more tabs you have open, the more data has to be written, the more time you have to spend.

BTW: This is a real USB-stick killer !
To prevetnt killing USB-stick, there are may be two options:
1) "Save position every [n] seconds"
2) "Save position on each directory change"

Posted: 2008-04-17, 09:11 UTC
by d
support++

>To prevetnt killing USB-stick, there are may be two >options:
>1) "Save position every [n] seconds"
>2) "Save position on each directory change"
supprot++

and 3) "save position on ctrl+s (or another shortcut)"

Re: Restore session

Posted: 2023-12-06, 07:49 UTC
by longtimeuser
Dear developers,

This would be an issue for a long time for me.
What are the chances that it ever will be done?

For me (and as I see from this thread for others too) having multiple windows/TCMD instances open is very convenient. On the other hand, when Windows shuts down for whatever reason (like it decides to apply an update 🤯), or there is a power outage, or TC closes due to some bug, I lose sometimes 10-15 windows.
And it is painful in those cases...
Just to add: I usually hibernate my pc, so I have works left in the middle because I have to begin something else... and I can get back to those tasks later on. These open windows serve as a reminder what I did, and where I was.

Could TC somehow preserve all the sessions? Like Browsers do?
It already preserves tabs.

Would it be too complicated to add? Could it be added to the features?
Pretty please? :)

Re: Restore session

Posted: 2024-01-21, 20:27 UTC
by jinsight
Support++