[8.0rc2] Tab path changes after switching from inner archive

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

[8.0rc2] Tab path changes after switching from inner archive

Post by *Flint »

1. Start TC with the following INI, where the [left]::path contents is substituted with your exact TEMP variable contents (plus trailing backslash), and [lefttabs]::0_path set to any location of the tcmd757a.exe file (or, probably, any other archive containing a nested archive):

Code: Select all

[left]
path=C:\Users\CAPTAI~1\AppData\Local\
[lefttabs]
0_path=d:\Temp\tcmd757a.exe\
activetab=1
2. TC opens with two tabs in the left panel: tcmd757a.exe contents (inactive) and TEMP dir (active). Press Ctrl+Tab to switch to tcmd757a.exe.
3. Navigate and enter the nested archive INSTALL.CAB.
4. Press Ctrl+Tab to switch back to TEMP.
5. TC normally should close the nested archive in the first tab and switch it back to the first-level archive contents. But in this specific scenario, instead, the second tab suddenly changes its path to d:\Temp\tcmd757a.exe\, while the first tab still contains the now inexistent INSTALL.CAB contents (the tab title shows that).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
umbra
Power Member
Power Member
Posts: 871
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Confirmed. I guess it's caused by the way, how TC silently switches between temp directories, when navigating in and out of nested archives (you can see it when you navigate in and out of them very fast).
Windows 7 Pro x64, Windows 10 Pro x64
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

umbra wrote:I guess it's caused by the way, how TC silently switches between temp directories, when navigating in and out of nested archives
Yes, I think so too. Especially taking into account that for other directories (not TEMP or one of its descendants) the problem is not reproduced. So, probably, TC compares the paths and misses the point that it's a different tab.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48093
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, it would be too complex to change that. It's caused by the special handling of nested archives.
Author of Total Commander
https://www.ghisler.com
Post Reply