Compare files upon copying switch left and right files

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

jcelle
Junior Member
Junior Member
Posts: 35
Joined: 2006-11-08, 14:42 UTC

Compare files upon copying switch left and right files

Post by *jcelle »

Steps to reproduce:
- Copy a file from left panel to right panel. File must already exist on right panel
- Overwrite dialog box appears, prompting for an overwrite decision
- Choose "More Options":Compare

What I get:
- left file is on the right side, right file on the left

What I expected:
- Left file on the left, right file on the right
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

Confirmed.

Unless this is by design... :shock:
TC for Linux please!
User avatar
petermad
Power Member
Power Member
Posts: 14791
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

If you do the oposite (copy from right panel to left panel, and chose compare you get the left file in the left side and the right file in the right side of the compare window.

So the rule seems to be: that you get the TARGET file in the left compare panel and the SOURCE file in the right compare panel.

Anyway I think it should be like 2jcelle expected - the left file in the left side and the right file in the right side of the compare window - that way it doesn't matter wich way you are copying - it would just logically reflect the position of the files.
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
szlori
Senior Member
Senior Member
Posts: 263
Joined: 2005-01-17, 07:12 UTC
Location: Sydney

Post by *szlori »

Support.

Anyway this is the case if you do the compare on the files (directly compare, not compare from copy). So it is confusing to work in a different way when the compare is invoked from copy.

Even if somebody doesn't agree with this, it should anyway be Source on the Left and Target on the Right. This is the more natural order: Left - to - Right.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48074
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The problem is that the compare dialog can also show the two files above each other. In the overwrite dialog, the target file is at the top. It would be strange if it were not at the top in the compare dialog...
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14791
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

In the overwrite dialog, the target file is at the top.
Which isn't really natural - I guess that's why you felt the need to put in the orange arrow to indicate the line of action. But I guess it can't be helped - unless the overwrite dialog is changed to something like:

"Do you want to use this file:"
<source>
"to overwrite this file:"
<target>

wich seems somewhat clumpsy.
It would be strange if it were not at the top in the compare dialog
I can appreciate that argument, but IMHO the argument to to keep left at left and right at right seems stronger to me.

The file panels can also be vertically aligned - and again (if the compare window is also vertically aligned) I think that the same file should be shown at the top in both windows.
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
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

petermad wrote:
In the overwrite dialog, the target file is at the top.
Which isn't really natural...
It's used like that in explorer too, but somehow it feels more natural there, maybe just because they use more descriptive words :D
petermad wrote:
It would be strange if it were not at the top in the compare dialog
I can appreciate that argument, but IMHO the argument to to keep left at left and right at right seems stronger to me.

The file panels can also be vertically aligned - and again (if the compare window is also vertically aligned) I think that the same file should be shown at the top in both windows.
The same opinion as Petermad in here.
TC for Linux please!
User avatar
petermad
Power Member
Power Member
Posts: 14791
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Not changed in TC7pb3... ?
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: 48074
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Well, I have explained why it is like it is. I don't see a better solution for now. :(
Author of Total Commander
https://www.ghisler.com
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Too bad, this makes the function quite unuseable for me, because the danger of judging the wrong file to be old can lead to data loss...
Is there a way to optionally disable it (preventing users from using it)?
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
wanderer
Power Member
Power Member
Posts: 1578
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

ghisler(Author) wrote:Well, I have explained why it is like it is. I don't see a better solution for now. :(
Well, personally i would expect to see the source file at the left and the destination at the right (no matter the panel they came from). Indeed the way it is now seems confusing. I don't see the logic in it.
petermad wrote:
In the overwrite dialog, the target file is at the top.
Which isn't really natural
You're right, it's not really the "natural" way but the destination file is the important issue in that dialog (this is the one you are overwriting) so IMHO it's better the way it is now. The X and V icons at the right help a lot too.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

wanderer wrote:The X and V icons at the right help a lot too.
But these icons are not displayed in Compare function - or did i miss something?
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

ghisler(Author) wrote:The problem is that the compare dialog can also show the two files above each other. In the overwrite dialog, the target file is at the top. It would be strange if it were not at the top in the compare dialog...
OTOH in Sync Dirs using "Asymmetric" mode, files are always copied [source] => [target], left to right.
Since we also read/write left => right and top => bottom, I think it is the overwrite dialog then which is wrong here.

If in overwrite dialog the target would be at the bottom, a natural feeling order in Compare function ([source] => [target]) would be possible without confusing anybody there.

Suggestion for the overwrite dialog:

Code: Select all

Using [source]
To overwrite [target]
Any comments / suggestions?
:?:
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
wanderer
Power Member
Power Member
Posts: 1578
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

StatusQuo wrote:
wanderer wrote:The X and V icons at the right help a lot too.
But these icons are not displayed in Compare function - or did i miss something?
I meant in the "overwrite" dialog. :)
StatusQuo wrote:If in overwrite dialog the target would be at the bottom, a natural feeling order in Compare function ([source] => [target]) would be possible without confusing anybody there.
Yes, but then it would be more difficult to locate the name of the file you are overwriting. This is the most significant thing in this dialog and i IMHO it is better to be on top, as is now.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

wanderer wrote:
StatusQuo wrote:If in overwrite dialog the target would be at the bottom, a natural feeling order in Compare function ([source] => [target]) would be possible without confusing anybody there.
Yes, but then it would be more difficult to locate the name of the file you are overwriting. This is the most significant thing in this dialog and i IMHO it is better to be on top, as is now.
I agree with that. This is why my first choice would be to let the overwrite dialog stay in "wrong" order, but to not take over this "wrong" order to other functions.
Unfortunately not enough people seem to support this (or use this function).

2Ghisler(Author):
Adding an option in WINCMD.INI to swap the sides here would make this great feature also useful to people thinking like me.
An option to disable this function would alternatively prevent confusion (maybe leading to data loss).
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
Post Reply