Locked Tab not restored

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
jcelle
Junior Member
Junior Member
Posts: 35
Joined: 2006-11-08, 14:42 UTC

Locked Tab not restored

Post by *jcelle »

Hello,
Steps to reproduce:
- apply "lock but directory changes allowed" on a directory that you can make unavailable after (an USB stick or external disk), so something like "f:\foo"
- go to another directory like "c:\bar" (not "c:\")
- close TC
- remove the original "locked but..." directory by unplugging your USB stick of external disk
- start TC

Expected:
- tab opens on "c:\bar"

Seen:
- tab opens on "c:\" (maybe because it tries to locate the locked directory?)

It might be by design but this surprised me after installing version 10.5; I don't remember exactly how it was before 10.5 but the fact that I did not pay attention could mean it was working differently.
Thanks and regards.
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Locked Tab not restored

Post by *petermad »

2jcelle
Try and set

Code: Select all

IgnoreDirErrors=1
in the [Configuration] section of your wincmd.ini file - does that make any difference?
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
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Locked Tab not restored

Post by *ghisler(Author) »

maybe because it tries to locate the locked directory?
Yes, that's exactly what happens - when you close TC, all locked tabs get reverted to their locked directory.
If a tab directory doesn't exist, TC goes up one level until it reaches the drive root.
Author of Total Commander
https://www.ghisler.com
jcelle
Junior Member
Junior Member
Posts: 35
Joined: 2006-11-08, 14:42 UTC

Re: Locked Tab not restored

Post by *jcelle »

Thanks for your replies.
@petermad, the IgnoreDirErrors did not change the behaviour though I'll keep this option : might be interesting.
Post Reply