Ctrl+B, edit file - multiple files appear

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Ctrl+B, edit file - multiple files appear

Post by *Flint »

1. Start TC with the following fresh INI file:

Code: Select all

[Configuration]
WatchDirs=3
2. Make exactly the following file/directory structure:
• C:\Temp\folder1\test\file.txt
• C:\Temp\folder2\test\file.txt
3. Go to the directory C:\Temp\ (so that you see folder1 and folder2 directories in the file panel).
4. Press Ctrl+B (two files named file.txt will be shown in the list).
5. Open any of these two files for editing with F4. A Notepad will be opened.
6. Make any change, save the file (Notepad may remain opened).
7. Switch back to TC: now there are 3 file.txt files in the list! After each editing/saving a new file.txt is added.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
petermad
Power Member
Power Member
Posts: 14826
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can NOT confirm this.

I even tried with a blank ini-file (watchdirs set to 3), and both with c:\temp and with the temp dir from my temp environment setting. I also tried with several notepad replacements plus notepad itself. (Win XP SP2)
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

petermad
Did you perform all the steps absolutely the same as I wrote? The directory structure is especially important: with other set of files/folders (even similar to which I described) I could not reproduce the bug!
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

Hm, I can't confirm that either.
User avatar
petermad
Power Member
Power Member
Posts: 14826
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Flint
Sorry - I had omitted the intermediate "test" folder - that was because you write:
3. Go to the directory C:\Temp\ (so that you see folder1 and folder2 directories in the file panel).
wich confused me - you should write:

3. Go to the directory C:\Temp\ (so that you see the "test" directory in the file panel).

If I include the test folder I can now confirm your bug report :!:
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

2Flint

:oops: I also forgot to create the 'test' folders first. Now I could reproduce it, too.
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Here's the video:
http://flint-inc.ru/Temp/BranchView.rar (261 Kb)

Added:
petermad wrote:you should write:

3. Go to the directory C:\Temp\ (so that you see the "test" directory in the file panel).
Funny, but it is not what I meant. :) See the video, the "test" folder is a subfolder of "folder1" and "folder2", so it cannot be visible when you enter C:\Temp\...
Last edited by Flint on 2007-01-14, 12:57 UTC, edited 1 time in total.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
petermad
Power Member
Power Member
Posts: 14826
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2Flint
Me being wrong again :oops: I had made these folders:

• C:\Temp\test\folder1\file.txt
• C:\Temp\test\folder2\file.txt

(I don't know what's wrong with me today).

But nevertheless - I can also confirm the bug with those folders - so it seems that it happens as long at the files (file.txt) are placed more than on folder deep.
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48118
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I couldn't reproduce it yet, but I will keep trying...
Author of Total Commander
https://www.ghisler.com
User avatar
redwdc
Junior Member
Junior Member
Posts: 4
Joined: 2006-01-20, 06:45 UTC
Location: Washington, DC

Post by *redwdc »

I can reproduce this on my mac using virtual PC. (And on my win box too.)

I have found that I have been using TC for so long I now need it on my mac.
User avatar
wanderer
Power Member
Power Member
Posts: 1578
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

Confirmed with TC7pb3. Funny though.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48118
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, I could now reproduce it. The changed files must be at least TWO levels below the directory in which you press Ctrl+B. I will fix it in beta 4. Thanks for reporting it!
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14826
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

As I wrote:
it seems that it happens as long at the files (file.txt) are placed more than on folder deep.
;-)
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
JOUBE
Power Member
Power Member
Posts: 1484
Joined: 2004-07-08, 08:58 UTC

Post by *JOUBE »

Hello,
ghisler(Author) wrote:OK, I could now reproduce it. The changed files must be at least TWO levels below the directory in which you press Ctrl+B. I will fix it in beta 4. Thanks for reporting it!
Probably the same bug as described here:
http://www.ghisler.ch/board/viewtopic.php?t=7576 ('Ein weiterer WatchDirs=3 Bug...', Thread date: 2005 Jun 01 !).
IIRC this bug is never fixed.

The easiest way to reproduce the bug, is, to go to the Folder 'Temporary Internet Files', press there Ctrl+B (with 'sorting by date' enabled), while loading - for example - a larger flv file embedded in a webpage.

Regards

JOUBE
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

Fixed in pb4.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
Post Reply