Filter and Confirm Overwrite

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
romulous
Senior Member
Senior Member
Posts: 226
Joined: 2003-11-19, 04:10 UTC

Filter and Confirm Overwrite

Post by *romulous »

To reproduce:

1. Two different folders, say Test1 and Test2
2. Test1 open in left pane, Test2 open in right pane
3. Inside Test1, there is a file - say testfile.txt
4. Inside Test2, there is a file with the same name (testfile.txt)
5. Move file from left pane to right pane
6. TC prompts you if you want to overwrite the file
7. The above is the correct behaviour
8. Now, Ctrl+S in the right pane, type *test* to filter out every other file (the idea being that only testfile.txt is shown)
9. Now move the file from left pane to right pane
10. TC does not confirm the overwrite - it just overwrites the file in the right pane with the file from the left pane
11. The above is not the correct behaviour

Filenames do not matter, as long as they are the same in each folder. It does not matter what the folder names are. It does not matter if each folder has one file in it, or one million. All that is important is that the two filenames are the same, and one pane in TC has the CTRL+S filter set. If so, then TC will ignore the 'prompt on overwrite' setting.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Cannot confirm.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14815
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I cannot reproduce the described behaviour either.
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
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Can't confirm too. Perhaps we need more specific details.
User avatar
romulous
Senior Member
Senior Member
Posts: 226
Joined: 2003-11-19, 04:10 UTC

Post by *romulous »

I can 100% reproduce it on my PC. For what it is worth, I'm using Win 7 64bit. What I described is the exact way to reproduce it on my end - two files the same name in different folders, one folder has CTRL+S set to show only that file, and then moving the file from the other folder to that folder with CTRL+S set will not produce the 'do you want to overwrite' dialog. It just overwrites the file without prompting.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Please try to reproduce it with clear INI.
So, you need to start TC with command line parameter /i="path_to_new_INI"
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48097
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, that makes no sense - TC doesn't use the list of displayed files t check whether a file already exists in the target or not.
Author of Total Commander
https://www.ghisler.com
User avatar
romulous
Senior Member
Senior Member
Posts: 226
Joined: 2003-11-19, 04:10 UTC

Post by *romulous »

ghisler(Author) wrote:Sorry, that makes no sense - TC doesn't use the list of displayed files t check whether a file already exists in the target or not.
Sense or not - no overwrite dialog is produced on my PC when CTRL+S is enabled in the target pane.
User avatar
petermad
Power Member
Power Member
Posts: 14815
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2romulous
Since the rest of us can't reproduce the error, we need more information - obviously specific conditions are required for the bug to show up.

The first thing you could do is to start TC with a clean ini file as suggested by MVV 3 postings above.

If you still have the bug, we can rule out that any particular setting of TC is necessary - and the problem is likely to be caused by something in your system.

On the other hand, if you don't have the bug with a clean ini file, then we can begin to figure out what setting is responsible for the bug.

We also need to know whether you use the keyboard (F6) or the mouse (Shift+drag) to move the file between the panels.
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
Post Reply