Directory history issue: new history doesn't erase the old
Moderators: Hacker, petermad, Stefan2, white
Re: Directory history issue: new history doesn't erase the old
If you use backspace in your browser, will it delete visited page address from the browser history? No. You can move back and forward. If you move back and then go other way, the browser will remove previous forward part only from the tab history, visited pages will be still present in the global browser history.
TC doesn't provide separate history list per tab (which behaviour you seem to expect), and full history should list all visited dirs (as in global browser history).
TC uses other approach: there are options to decide which dirs are removed by history thinning - they are described in HISTORY.TXT.
TC doesn't provide separate history list per tab (which behaviour you seem to expect), and full history should list all visited dirs (as in global browser history).
TC uses other approach: there are options to decide which dirs are removed by history thinning - they are described in HISTORY.TXT.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Directory history issue: new history doesn't erase the old
2alphonse68
Notice that if you have enabled "Directory history thinning" you can see the full history by pressing Shift+Alt+Down
Have you tried to disable the new setting: "Configuration" -> "Options..." -> "Operation" ->"Directory history thinning"?Now, this was not the behavior prior to this version.
Notice that if you have enabled "Directory history thinning" you can see the full history by pressing Shift+Alt+Down
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Directory history issue: new history doesn't erase the old
I can confirm it. And while I prefer the new behavior, it is a change when compared to TC 9.22a.
And the "Directory history thinning" setting does not seem to have any effect on this.
And the "Directory history thinning" setting does not seem to have any effect on this.
Windows 10 Pro x64, Windows 11 Pro x64
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Directory history issue: new history doesn't erase the old
There is an option for that in wincmd.ini:
[Configuration]
HistoryAppend=0
It's 1 by default, so you don't lose any directories from the history when going back.
[Configuration]
HistoryAppend=0
It's 1 by default, so you don't lose any directories from the history when going back.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Directory history issue: new history doesn't erase the old
2alphonse68
I can confirm the difference between v. 9.5b1 and 9.22a except for this:
So what I do is having dirs c:\0\1\2\3\4 and dir c:\a
Start with clean history in c:\
Go to c:\0 then c:\0\1 then to c:\0\1\2 then to c:\0\1\2\3 and finally to c:\0\1\2\3\4
Use Alt+leftarrow to go back to c:\ through c:\0\1\2\3, c:\0\1\2 and c:\0\1 and c:\0
Go into c:\a
Use Alt+leftarrow - and here comes the difference: In TC 9.22a that leads back to c:\ as expected, whereas in TC 9.5b1 it leads to c:\0\1\2\3\4
In TC 9.22a further press on Alt+leftarrow stays in c:\ while in TC 9.5b1 further press on Alt+leftarrow takes you back through through c:\0\1\2\3, c:\0\1\2, c:\0\1 and c:\0 and ends up in c:\ - but with the cursor on c:\a not on c:\0
As you I find the way of TC 9.22a more correct and intuitive.
If the Alt+leftarrow press while in c:\a would lead back to c:\ and a further press would lead to c:\0 og so forth it would be intuitive, and an improvemet to 8.22a, where futrher presses on Alt+leftarrow after goin back from c:\a to c:\ doesn't have any effect.
I can confirm the difference between v. 9.5b1 and 9.22a except for this:
I can only reproduce that the history buffer kicks in again from "the top" (4) if I enter another directory than 0, not if I enter 0. I can also only reproduce it when using Alt+Leftarrow not when using backspace.4. Enter 0 again (or any other directory, for that matter)
So what I do is having dirs c:\0\1\2\3\4 and dir c:\a
Start with clean history in c:\
Go to c:\0 then c:\0\1 then to c:\0\1\2 then to c:\0\1\2\3 and finally to c:\0\1\2\3\4
Use Alt+leftarrow to go back to c:\ through c:\0\1\2\3, c:\0\1\2 and c:\0\1 and c:\0
Go into c:\a
Use Alt+leftarrow - and here comes the difference: In TC 9.22a that leads back to c:\ as expected, whereas in TC 9.5b1 it leads to c:\0\1\2\3\4
In TC 9.22a further press on Alt+leftarrow stays in c:\ while in TC 9.5b1 further press on Alt+leftarrow takes you back through through c:\0\1\2\3, c:\0\1\2, c:\0\1 and c:\0 and ends up in c:\ - but with the cursor on c:\a not on c:\0
As you I find the way of TC 9.22a more correct and intuitive.
If the Alt+leftarrow press while in c:\a would lead back to c:\ and a further press would lead to c:\0 og so forth it would be intuitive, and an improvemet to 8.22a, where futrher presses on Alt+leftarrow after goin back from c:\a to c:\ doesn't have any effect.
Last edited by petermad on 2019-10-22, 10:09 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Directory history issue: new history doesn't erase the old
The change is maybe related to this:
2ghisler
Could you please confirm whether it's an intentional change?
AKA, it no longer rewrites the history, as it used to in the previous versions.history950.txt wrote: 14.07.19 Added: Directory history: When going to previous entry via Alt+Left arrow, and then manually changing to a different directory, append that directory to the END of the history (32/64)
2ghisler
Could you please confirm whether it's an intentional change?
Windows 10 Pro x64, Windows 11 Pro x64
Re: Directory history issue: new history doesn't erase the old
2umbra
I looks like that indeed.The change is maybe related to this:
Last edited by petermad on 2019-11-02, 17:51 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Directory history issue: new history doesn't erase the old
It doen't change anything whether I use HistoryAppend=1 or HistoryAppend=0 - there is still this change in functinonality between TC 922a and TC 9.5x as described before:ghisler(Author) wrote: 2019-10-21, 15:33 UTC There is an option for that in wincmd.ini:
[Configuration]
HistoryAppend=0
It's 1 by default, so you don't lose any directories from the history when going back.
So what I do is having dirs c:\0\1\2\3\4 and dir c:\a
Start with clean history in c:\
Go to c:\0 then c:\0\1 then to c:\0\1\2 then to c:\0\1\2\3 and finally to c:\0\1\2\3\4
Use Alt+leftarrow to go back to c:\ through c:\0\1\2\3, c:\0\1\2 and c:\0\1 and c:\0
Go into c:\a
Use Alt+leftarrow - and here comes the difference: In TC 9.22a that leads back to c:\ as expected, whereas in TC 9.5b1 it leads to c:\0\1\2\3\4
In TC 9.22a further press on Alt+leftarrow stays in c:\ while in TC 9.5b1 further press on Alt+leftarrow takes you back through through c:\0\1\2\3, c:\0\1\2, c:\0\1 and c:\0 and ends up in c:\ - but with the cursor on c:\a not on c:\0
Last edited by petermad on 2019-10-22, 10:09 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Directory history issue: new history doesn't erase the old
2alphonse68
You can redirect sections [LeftHistory] and [RightHistory] from wincmd.ini to other file and just delete that file when needed.
You can redirect sections [LeftHistory] and [RightHistory] from wincmd.ini to other file and just delete that file when needed.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Directory history issue: new history doesn't erase the old
2alphonse68
What settings for history thinning do you use now? If you switch back and forward faster than in 5 s, the directory may not be counted as last visited and won't be moved to the end of the list, I think.HISTORY.TXT wrote: 08.07.19 Added: Directory history thinning: wincmd.ini [Configuration] HistoryThinningDelta=5000 defaults to 5 seconds the user must stay in a directory to keep it in the history (32/64)
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
Re: Directory history issue: new history doesn't erase the old
Make it much smaller, for example 100, and test again.alphonse68 wrote: 2019-10-24, 03:27 UTC HistoryThinningDelta=5000 ; to make sure, I tested with 10,000, but no joy
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Directory history issue: new history doesn't erase the old
Please try this new option in beta 3:
wincmd.ini
[Configuration]
HistoryCut=1
It cuts the history below the current entry and then appends the new directory, as it was in TC 9.22a.
wincmd.ini
[Configuration]
HistoryCut=1
It cuts the history below the current entry and then appends the new directory, as it was in TC 9.22a.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com