drag file on desktop not copy but cut
Moderators: Hacker, petermad, Stefan2, white
drag file on desktop not copy but cut
When I try to drag&drop a file on desktop, it move it, TC should always copy it, right?
8.0beta9
8.0beta9
Hm, technically the explanation is correct. Yet, knowing the default behaviour of drag'n'drop (no shift key pressed) in Total Commander is copying, it is unexpected at best that the file is moved to the desktop. (Good to know you can press Ctrl-Z in Explorer to undo this move operation.)
It gets even more confusing:
If feasible in any way, Total Commander should make sure that drag'n'drop (no shift key pressed) will always copy.
Maybe this can be achieved by explicitly a "copy" flag? So that even if the drop target is outside Total Commander's control the drop target learns that the drag'n' drop goal is "copying".
Personally I have never really noticed the inconsistency for two reasons:
+ I do not put objects on my desktop (mission "clean desktop"
)
+ I hardly ever drag'n'drop. Mice are so unprecise compared to <F5>/<F6> (motto "keyboard rulez")
Karl
It gets even more confusing:
- T.C. is not maximized so that your original Windows is visible partially.
You drag a file from a T.C. file panel on the genuine Windows desktop.
Result:
The file is moved there. Provided the original file was located on the same drive as the Windows desktop folder.
(This is what has been reported by dindong and explained by MVV.) - If you open the dektop in one of T.C. file panels by navigating there with the help of the breadcrumb bar, T.C. displays that you are inside \\Desktop.
Now drag'n'drop a file from the opposite file panel to \\Desktop.
Result:
The file is copied to \\Desktop in any case. Never moved.
If feasible in any way, Total Commander should make sure that drag'n'drop (no shift key pressed) will always copy.
Maybe this can be achieved by explicitly a "copy" flag? So that even if the drop target is outside Total Commander's control the drop target learns that the drag'n' drop goal is "copying".
Personally I have never really noticed the inconsistency for two reasons:
+ I do not put objects on my desktop (mission "clean desktop"

+ I hardly ever drag'n'drop. Mice are so unprecise compared to <F5>/<F6> (motto "keyboard rulez")
Karl
Exceptions all over, for when I drop a file (mouse button only) to the Explorer desktop's recycle bin it is moved there, even when dragged from another drive. At least this one makes sense.
I think the easiest solution would be an option for TC to behave like Explorer -or find a registry setting that would change the Explorer behavior...
I think the easiest solution would be an option for TC to behave like Explorer -or find a registry setting that would change the Explorer behavior...
Well, this is not really true.Bartusg wrote:Exceptions all over, for when I drop a file (mouse button only) to the Explorer desktop's recycle bin it is moved there, even when dragged from another drive.
What you see in Windows as one single recycle bin are in fact separate recycle bin folders, one per local drive.
Windows will move a file living on drive C: and being deleted to the recycle bin to the recycle bin folder on drive C:.
Windows will move a file living on drive D: and being deleted to the recycle bin to the recycle bin folder on drive D:.
Windows will move a file living on drive E: and being deleted to the recycle bin to the recycle bin folder on drive E:.
etc pp
So moving to the recycle bin never crosses drive borders.
The recycle bin folder which you see in Windows is a virtual folder visually joining all existing recycle bin folders.
The Windows desktop, however, only exists once per user: It is a virtual folder visually joining the content of the physical folders "%ALLUSERSPROFILE%\Desktop" and "%USERPROFILE%\Desktop".
As a consequence, moving to the Windows recycle bin and moving to the Windows desktop are technically two different things.
Imitating the inconsistent Explorer behaviour is not really a very logical approach: Here on this machine where I am typing right now, the virtual desktop folder, consisting of "%ALLUSERSPROFILE%\Desktop" and "%USERPROFILE%\Desktop", has got one little peculiarity:
The physical folders "%ALLUSERSPROFILE%\Desktop" and "%USERPROFILE%\Desktop" are located on two different drives. Now try to predict when drag'n'drop to the Windows desktop will copy and when it will move in Explorer!

Karl
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, unfortunately the target controls the copy or move method. TC has unfortunately no influence on it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Thanks karlchen for clarifying the recycle-bin locations; turns out I do indeed have such a folder on my d:\ drive but I put it in the ignore-list and have forgotten it since.
TC imitating Explorer would not end all inconsistencies, but it would be a choice for those that use both programs.
Again, Explorer imitating TC would be cool.
TC imitating Explorer would not end all inconsistencies, but it would be a choice for those that use both programs.
Again, Explorer imitating TC would be cool.