[TC 11.58rc3] Lost subdirs paths focus inside arcihve after tab switch

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

Moderators: petermad, Stefan2, Hacker

Post Reply
User avatar
MaxX
Power Member
Power Member
Posts: 1300
Joined: 2012-03-23, 18:15 UTC
Location: UA

[TC 11.58rc3] Lost subdirs paths focus inside arcihve after tab switch

Post by *MaxX »

1. Open password protected (header encrypted) RAR file with subdirs existing inside
2. To to any subdir, move cursor to any file and pay attention to it.
3. Switch to another tab on same side of filepanel.
4. Switch back to in-archive tab.
5. Under-cursor focus is lost, you got kicked to the root of archive.

TC 11.57 works fine.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
petermad
Power Member
Power Member
Posts: 17396
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.58rc3] Lost subdirs paths focus inside arcihve after tab switch

Post by *petermad »

you got kicked to the root of archive.
That is by design:
history.txt wrote:10.06.26 Fixed: When switching from a tab showing a subdirectory of a header-encrypted archive to a different tab, revert the location to the root of the archive to not leak the name of the subdirectory in the tab header (32/64)
License #524 1994
Danish TC Translator
TC 11.58 32+64bit on Windows XP 32bit & Windows 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1416b
TC 3.62 on Android 6, 13, 15 & 16
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MaxX
Power Member
Power Member
Posts: 1300
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: [TC 11.58rc3] Lost subdirs paths focus inside arcihve after tab switch

Post by *MaxX »

Ok, it makes some troubles in my daily work. How can I disable that?
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
petermad
Power Member
Power Member
Posts: 17396
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.58rc3] Lost subdirs paths focus inside arcihve after tab switch

Post by *petermad »

How can I disable that?
I don't think you currently can.

I think that if Remember password is enabled - this new "feature" should not be used - if you have chosen to remember the password, you have given up protection against other people prying. - so hiding the folder name in the folder tab title is unimportant. What is important is to not save the encrypted folder names in wincmd.ini
License #524 1994
Danish TC Translator
TC 11.58 32+64bit on Windows XP 32bit & Windows 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1416b
TC 3.62 on Android 6, 13, 15 & 16
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53155
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.58rc3] Lost subdirs paths focus inside arcihve after tab switch

Post by *ghisler(Author) »

I think that if Remember password is enabled - this new "feature" should not be used
I have considered this, but then the password is forgotten when you minimize TC, but the paths would remain.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 17396
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.58rc3] Lost subdirs paths focus inside arcihve after tab switch

Post by *petermad »

OK, then maybe not do it when KeepPackerPassword is 1, 2 or 3
License #524 1994
Danish TC Translator
TC 11.58 32+64bit on Windows XP 32bit & Windows 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1416b
TC 3.62 on Android 6, 13, 15 & 16
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53155
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.58rc3] Lost subdirs paths focus inside arcihve after tab switch

Post by *ghisler(Author) »

I will use the following solution: Keep the subdir when switching to other tabs when a password is remembered.
Then revert them to the archive root when the password is forgotten when minimizing or closing TC, or when the screen saver starts.
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1300
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: [TC 11.58rc3] Lost subdirs paths focus inside arcihve after tab switch

Post by *MaxX »

That sounds nice.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53155
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.58rc3] Lost subdirs paths focus inside arcihve after tab switch

Post by *ghisler(Author) »

This has been changed in Total Commander 11.58 RC4, please test!
14.06.26 Fixed: When switching away from a tab showing a subdirectory of a header-encrypted archive, do not revert to the root of the archive if the user has chosen to remember the password. Only revert when forgetting the password, e.g. when minimizing (32/64)
Please note that when duplicating a tab in the background, the new tab still reverts to the root of the archive.
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1300
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: [TC 11.58rc3] Lost subdirs paths focus inside arcihve after tab switch

Post by *MaxX »

Works fine. Thanks.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53155
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.58rc3] Lost subdirs paths focus inside arcihve after tab switch

Post by *ghisler(Author) »

Great, thanks!

Moderator message from: ghisler(Author) » 2026-06-21, 07:51 UTC

Moved to fixed bugs
Author of Total Commander
https://www.ghisler.com
Post Reply