Restore session

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Restore session

Post 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.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post 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.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post 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.
#5767 Personal license
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post 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.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

Strongly not support!

Repair your hardware and all will be ok."unexpected" is not normal.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post 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.
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post 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.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post 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 :)
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post 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.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post 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.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post 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"
d
Member
Member
Posts: 157
Joined: 2007-02-05, 14:54 UTC

Post 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)"
longtimeuser
New Member
New Member
Posts: 1
Joined: 2023-12-06, 07:30 UTC

Re: Restore session

Post 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? :)
User avatar
jinsight
Senior Member
Senior Member
Posts: 299
Joined: 2003-02-25, 19:47 UTC
Location: Wooster, Ohio, USA

Re: Restore session

Post by *jinsight »

Support++
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
Post Reply