WatchDirs shows new irrelevant files in cm_DirBranchSel
Moderators: Hacker, petermad, Stefan2, white
WatchDirs shows new irrelevant files in cm_DirBranchSel
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).
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
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
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
https://www.ghisler.com
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…
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
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
https://www.ghisler.com
ghisler(Author)
I see. Yes, I confirm the fix in 8.0β4.
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
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks - did you check the fix with both the 32-bit and the 64-bit version?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Yes, sure.ghisler(Author) wrote:did you check the fix with both the 32-bit and the 64-bit version?
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: