Directory up in archives ends up in TEMP dir issue

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Csimbi
Member
Member
Posts: 105
Joined: 2004-06-16, 08:27 UTC

Directory up in archives ends up in TEMP dir issue

Post by *Csimbi »

Hi all,
when I go into an archive in an archive, TC extracts it into the TEMP dir and opens it up from there.
If go directories upwards (back to the original archive, then back to the original directory), TC sometimes ends up the the TEMP directory instead of the original directory. I noticed that it depends on the speed - if I go up too quickly, it will always end up in the TEMP dir, if I go slowly, it always goes back to the right place.
Is there any way to change this behaviour to make sure that I always end up in the right directory (without waiting so I can go up and down quickly)?
Thank You.
Best regards: Csimbi
User avatar
wanderer
Power Member
Power Member
Posts: 1644
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Re: Directory up in archives ends up in TEMP dir issue

Post by *wanderer »

I'd like to see that issue resolved too.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
aguirRe
Junior Member
Junior Member
Posts: 88
Joined: 2003-02-06, 17:33 UTC
Contact:

Post by *aguirRe »

I've reported this problem long ago and I'm still hoping for a solution. There's also a similar problem with using the "browse back" (Alt-Left) out of an archive instead of "up directory" (Ctrl-PgUp); you'll end up in the correct directory but the cursor is at the first file instead of on the archive you just left.

For me this is a significant problem as I often go through large directories with lots of archives and each time I'll end up at the beginning again as soon as I leave an archive. I can't understand why this behaviour is different from "up directory".
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

aguirRe wrote: I can't understand why this behaviour is different from "up directory".
[Alt]+[left] is the shortcut for cm_GotoPreviousDir while
"up directory" or [back] or [Ctrl]+[PgUp] are connected to cm_GotoParent.

You can achieve this behavior by changing the hotkey under
Configuration->Options->Misc:Redefine Hotkeys
Csimbi wrote: Is there any way to change this behaviour to make sure that I always end up in the right directory (without waiting so I can go up and down quickly)?
It's a long known limitation and IIRC @ghisler has not found yet a solution to prevent this. You end up not as much in the temp dir if you use the "back" key to switch out of the archive instead of [enter] at the "..". But if you're quick enough you neverthless end up in the temp. Then you could only use the history [Alt]+[down] to go back.

Maybe one could create an AutoHotkey script that checks if youre out of the temp Dir before trigger the next cm_gotoparent. But that will cause problems if you are in third or fourth nested archive.


sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
aguirRe
Junior Member
Junior Member
Posts: 88
Joined: 2003-02-06, 17:33 UTC
Contact:

Post by *aguirRe »

Well for me it wasn't about the hotkeys; I want the combination of the directory history and still be able to go up from one archive and down in the next without being forced to the beginning of the dir each time. I can't see any obvious reason why browse back should be different from up directory in this respect.
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

aguirRe wrote:I can't see any obvious reason why browse back should be different from up directory in this respect.
The history saves only a list of the visited directories, but not for each of this item the position of the cursor.
Regarding that you can enter a directory of the history with cm_GotoPreviousDir and cm_gotoNextDir you would have to save two positions: that one the cursor has been when you entered the directory and that where you have been when you left it.

With cm_GotoParent you have always a defined position, but walking through the history is independant from the directory you come from or go to.

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Post Reply