solved [TC 11.00b2] Wrong history shown after using cm_Exit 9

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

solved [TC 11.00b2] Wrong history shown after using cm_Exit 9

Post by *petermad »

To reproduce:

1. Turn Saving of Directory history at Exit off in the Operation section of the Configuration Options, and turn off History thining.
2. Open the current ini file (wincmd.ini in an editor.
3. Close TC.
4. Delete the sections [RightHistory] and [LeftHistory] from the ini file.
5. Delete the tcDirFrq.txt file (%LOCALAPPDATA%\Ghisler\tcDirFrq.txt)
6. open TC
7. In the left panel navigate into c:\windows
8. In the right panel navigate into c:\windows\system32
9. Save the settings from the menu: "Configuration" -> "Save settings" (or use the cm_ConfigSaveSettings command).
10. Close TC.
11. Open TC
12. In the left panel place the cursor ON the diorectiory system32
13. In the right panel place the cursor ON the FILE acledit.dll
14. Run the command cm_Exit 9 from the command line to restart TC.

The left history now shows:
c:\Windows\System32\
c:\Windows\

The right history shows:
c:\Windows\System32\acledit.dll\
c:\Windows\System32\

The first entry in both sides is wrong, we have only had the cursor on system32, we were never in it, and acledit.dll is not a directory, and should never be in the history.

TC simply adds what's under the cursor in each panel to the history
Last edited by petermad on 2023-05-18, 20:13 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b2] Wrong history shown after using cm_Exit 9

Post by *petermad »

nistory.txt wrote:12.05.23 Fixed: When launching with parameter /P, the path+file name were added to the directory history by mistake (32/64)
I guess this is the fix for the problem in the first post - at least the problem is solved in TC 11.00b3 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
white
Power Member
Power Member
Posts: 4596
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: solved [TC 11.00b2] Wrong history shown after using cm_Exit 9

Post by *white »

Moderator message from: white » 2023-05-18, 20:47 UTC

Moved to Fixed bugs.
Post Reply