WatchDirs shows new irrelevant files in cm_DirBranchSel

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3505
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

WatchDirs shows new irrelevant files in cm_DirBranchSel

Post by *Flint »

1. Start TC with fresh INI containing only WatchDirs=3.
2. Navigate to some directory containing several subdirs.
3. Start cmd.exe, navigate to the same directory (or just type cmd <Enter> in TC's command line).
4. Switch back to TC, select some of the subdirs and press Ctrl+Shift+B.
5. Switch to cmd.exe and type: copy nul test.txt <Enter>
6. In the TC's panel the newly created file test.txt is shown, though it does not belong to any of the subdirs we selected on the step 4!

Reproduced in TC 7.56a, 8.0β3 x32, x64.

I discovered this problem by chance, and I was lucky to notice that a new alien file appeared in the list, because I was already going to delete all the displayed files (thinking I'm only cleaning the selected subdirs and nothing more).
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Strange, this was already fixed in TC 7.56 RC1:
23.11.10 Fixed: When using branch view of selected files/folders and "watch directory changes", do not show files/folders which do not belong to the selection when they show up later
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3505
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

ghisler(Author)
I vaguely remembered that something like that has already been in TC, but I failed to find the appropriate thread here or on the beta board. I didn't think to look into history though. :)

Anyway, here I can reproduce the problem even in 7.56 RC1. Maybe some additional specific conditions…
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I found it - the fix was only for files in subdirs which were NOT selected for Ctrl+Shift+B. Your report is different: It's about files in the base directory! I have added this now too to beta 4, please check!
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3505
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

ghisler(Author)
I see. Yes, I confirm the fix in 8.0β4.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks - did you check the fix with both the 32-bit and the 64-bit version?
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3505
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

ghisler(Author) wrote:did you check the fix with both the 32-bit and the 64-bit version?
Yes, sure.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks a lot!
Author of Total Commander
https://www.ghisler.com
Post Reply