Overwrite option "Ask user" in copy/move dialogs cannot be saved

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

User avatar
Stefan2
Power Member
Power Member
Posts: 4157
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Overwrite option "Ask user" in copy/move dialogs cannot be saved

Post by *Stefan2 »

Hi and welcome ppacter.
ppacter wrote: 2020-07-02, 23:40 UTC This discussion has solved a related small problem for me.
My setting of Configuration > Options > Misc > Get Confirmation Before Overwriting files
always worked properly when copying a file from one drive to another
but did not work when copying a file from within a ZIP to a file on a drive.
TC overwrote the target file with the source file without asking.

After reading this discussion, I looked in my wincmd.ini and found:
UnZIPOverwrite=1

After changing 1 to 0, TC now asks for confirmation before overwriting.

I solved my problem. Thank you all. Out of curiosity I went through TC’s Configuration > Options to find whether I might have set this without having to edit wincmd.ini. So far, cannot find where.

"UnZIPOverwrite=0" is the default setting, and default settings are not in the INI
and not kept stored in the INI (may be removed on next writing too)

So you yourself must have add that to your INI ? Some times, long ago, no one may still remember :D






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

Re: Overwrite option "Ask user" in copy/move dialogs cannot be saved

Post by *petermad »

2Stefan2
... and default settings are not in the INI
and not kept stored in the INI (may be removed on next writing too)
That is not correct in this case - and in many other cases - there are numerous default settings that are kept if manually added, or if turned back to default via GUI - TC is very inconsistant in this matter. It does look like though, that older default options are kept in wincmd.ini whereas more recently introduced default options are removed.
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: 48077
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Overwrite option "Ask user" in copy/move dialogs cannot be saved

Post by *ghisler(Author) »

I can confirm that if I disable "Configuration" -> "Options..." > "Misc." -> "Get confirmation before" -> "Overwriting files" then I also cannot save the option "1. Ask user" in the "Advanced options" of the Copy dialog.
How would it make sense to combine these two? Either you want confirmation or your don't!
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14793
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Overwrite option "Ask user" in copy/move dialogs cannot be saved

Post by *petermad »

How would it make sense to combine these two? Either you want confirmation or your don't!
Maybe the last changed option should have precedence over the other. Or, as it is now, where the option in the Misc. settings has precedence, then the option in the Copy dialog should somehow be disabled (unselectable or hidden) when confirmation before deleting is disabled in the Misc. options.
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
gdpr deleted 6
Power Member
Power Member
Posts: 872
Joined: 2013-09-04, 14:07 UTC

Re: Overwrite option "Ask user" in copy/move dialogs cannot be saved

Post by *gdpr deleted 6 »

ghisler(Author) wrote: 2020-07-03, 16:42 UTC
I can confirm that if I disable "Configuration" -> "Options..." > "Misc." -> "Get confirmation before" -> "Overwriting files" then I also cannot save the option "1. Ask user" in the "Advanced options" of the Copy dialog.
How would it make sense to combine these two? Either you want confirmation or your don't!
Good question. Why have two conflicting options in the first place?
As you said, one wants either confirmation or not. What is/was the logic/reasoning behind having two settings for the same "either ask for confirmation or don't" decision?
Last edited by gdpr deleted 6 on 2020-07-03, 21:43 UTC, edited 1 time in total.
User avatar
Stefan2
Power Member
Power Member
Posts: 4157
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Overwrite option "Ask user" in copy/move dialogs cannot be saved

Post by *Stefan2 »

petermad wrote: 2020-07-03, 13:17 UTC 2Stefan2
...
That is not correct in this case -

Thanks for the additional information.



 
Post Reply