Nested archive and tab switch -> TEMP dir

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

Moderators: white, Hacker, petermad, Stefan2

User avatar
Hacker
Moderator
Moderator
Posts: 13073
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Nested archive and tab switch -> TEMP dir

Post by *Hacker »

Create a nested archive, for instance a ZIP in a ZIP.
Enter the inner archive.
Switch to another tab and back.
You land in the TEMP dir.

Expected: one should get back into the inner archive.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Stitscher
Power Member
Power Member
Posts: 1058
Joined: 2004-02-17, 12:34 UTC
Location: Hamburg, Germany

Post by *Stitscher »

Confirmed.

Stitscher
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48118
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately this is a known problem which cannot be avoided: When you switch away from an inner archive in any way, then TC will leave that archive and return to the parent. Why? If it wouldn't do this, you could end with many open tabs to such temporary archives, which would never be deleted...
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ghisler(Author)
What about showing the directory in the archive which contains the internal zip file and place the cursor on this file?
User avatar
wanderer
Power Member
Power Member
Posts: 1578
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

Lefteous wrote:2ghisler(Author)
What about showing the directory in the archive which contains the internal zip file and place the cursor on this file?
Nice. At least this wouldn't be so bad...
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
petermad
Power Member
Power Member
Posts: 14826
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

What about showing the directory in the archive which contains the internal zip file and place the cursor on this file?
Support++
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48118
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I can try that, but I'm not sure whether it's possible or not.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14826
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Fixed in TC7pb2 :-) TC now returns to the outer archive as suggested by Lefteous - only the cursor isn't placed at the inner archive.
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Hacker
Moderator
Moderator
Posts: 13073
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Could it be placed on the inner archive?

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48118
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will try that.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14826
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Fixed in TC7pb3 - TC now puts the cursor on the inner archive.
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Hacker
Moderator
Moderator
Posts: 13073
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Ah, indeed. :)

Thanks
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

petermad wrote:Fixed in TC7pb3 - TC now puts the cursor on the inner archive.
Hi,

this seems to be true only if no packer plugin is involved. :(

Right hand panel - 2nd Tab:

Folder: C:\.....\Win_Utils
[face=courier]File: Win2003_rktools.exe
....... |___rktools.msi
. ......... |___Cabs.winrk.cab[/face]
(So now I'm in the CAB file)

Switching between the righthand and the lefthand panels will do no harm, as long as in the righthand panel the 2nd tab is the active tab. I will return to inside the cab file.

Once I switch from the 2nd tab to the 1st tab and back to the 2nd tab, I will be inside Win2003_rktools.exe , so 2 levels higher than before.

Plugin involved: MSI.WCX

(Checking %TEMP%\_TC and %TEMP%\_TC_ I can see the temporary files have been removed when the 2nd tab changed to the inactive state.)

[Added]
Nope, unrelated to Plugins very likely:
Reproduced with a ZIP inside a ZIP:
TC_OUTER.ZIP => TSCMD.ZIP
If I enter TSCMD.ZIP and switch to a different tab inside the same panel, then return, I am back inside TC_OUTER.ZIP, but not in the inner archive TSCMD.ZIP.

Any new INI-setting I may have missed about keeping tempfiles longer?
[/Added]

Karl
User avatar
petermad
Power Member
Power Member
Posts: 14826
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I will be inside Win2003_rktools.exe , so 2 levels higher than before.
Yes, but isn't the cursor placed on rktools.msi inside the Win2003_rktools.exe file?
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

petermad wrote:
I will be inside Win2003_rktools.exe , so 2 levels higher than before.
Yes, but isn't the cursor placed on rktools.msi inside the Win2003_rktools.exe file?
Correct, it is.

Hm, so from my point of view half of the missing feature has been added:

We are no longer thrown into the %temp% folder, but returned to our nested archive and the cursor is placed on the nested archive which we had already entered.

So any chance we will get the whole piece of cake some day? I.e. I will stay where I was: inside Cabs.winrk.cab????
(until I deliberately close the tab or deliberately move to some other location inside the tab)

Karl
Post Reply