solved [TC 10.0-11.03] DirTabRevert=0 does not prevent selected files from being deselected when returning to locked tab

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 15999
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

solved [TC 10.0-11.03] DirTabRevert=0 does not prevent selected files from being deselected when returning to locked tab

Post by *petermad »

If DirTabRevert=0 the content of a tab is not changed to base folder when going back to a tab that is "Locked, but directory changes allowed".

Still - if I have gone to another folder in such a tab and made some files selections, leaving that tab and going back to it erases the file selections - it should not be like that, since the folder is the same when leaving the tab and when opening it again when DirTabRevert=0.

See also: viewtopic.php?p=453274#p453274
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: [TC 10.0 - 11.03] DirTabRevert=0 does not prevent selected files from being deselected when returning to locked tab

Post by *AntonyD »

I'm not quite sure that I'll describe the behavior which is completely related to the current bug below. But there are nuances, imho...

If you leave such a tab ('locked & changed base dir') for a long time (more than an hour, for sure), then when you go to it
Instead of simply showing the contents of the directory in which you have gone in, a forced jump to the base directory
in this tab will be performed.

Example:
In some tab opened and locked: `C:\Temp`
After that go to `C:\Temp\details` in this tab
if you go to other tabs now and then come back, you will see again `C:\Temp\details`
And that's right! But if we spend some significant time in another tab, & after that going back, we will see:
1) some kind of apparent delay - as if there is some very long "recalculation" of some internal data -
2) and only then we get into the ....... `C:\Temp`!!!!!!!
that there is the wrong behavior. We had to get back to `C:\Temp\details`!
#146217 personal license
User avatar
petermad
Power Member
Power Member
Posts: 15999
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.0 - 11.03] DirTabRevert=0 does not prevent selected files from being deselected when returning to locked tab

Post by *petermad »

If you leave such a tab ('locked & changed base dir') for a long time (more than an hour, for sure), then when you go to it
Instead of simply showing the contents of the directory in which you have gone in, a forced jump to the base directory
in this tab will be performed.
Tried this - but could not see the jump to the base dir and back, but maybe my test dir was too small to notice it.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.0 - 11.03] DirTabRevert=0 does not prevent selected files from being deselected when returning to locked tab

Post by *ghisler(Author) »

This should be fixed in Total Commander 11.50 beta 1, please check it!
11.04.24 Fixed: Selection wasn't preserved when switching away from a tab which was locked with directory changes allowed when not in the locked root and not reverting to the root (32/64)
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 15999
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.0 - 11.03] DirTabRevert=0 does not prevent selected files from being deselected when returning to locked tab

Post by *petermad »

Confirmed fixed in TC 11.50b1 :-)

Moderator message from: petermad » 2024-10-09, 19:14 UTC

Moved to "TC fixed bugs" from "TC11.x bug reports (English)"
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: solved [TC 10.0-11.03] DirTabRevert=0 does not prevent selected files from being deselected when returning to locked

Post by *AntonyD »

Yep, looks like my version of reproducing of "very similar" bug also has been fixed)))
#146217 personal license
Post Reply