[Xfce-bugs] [Bug 15727] Replacing a file via Cut and Paste in the same filesystem makes a copy

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Aug 21 23:26:15 CEST 2019


--- Comment #11 from alexxcons <alexxcons at xfce.org> ---
Hmm, for some reason I fail to reproduce the double-dialog .. which filesystems
do you use to trigger it ?

>From https://developer.gnome.org/gio/stable/GFile.html#g-file-move
> The native implementation may support moving directories (for instance on moves inside the same filesystem), but the fallback code does not.
I am not sure if that means that the fallback code is not able to copy+delete
directories, or if it is not able to do so across different file-systems. In
any case, it sounds like that this might be the reason for our custom fallback,
which is called recursively on directories.

"thunar_transfer_job_copy_file" automatically creates "myfile (copy1)" if
source and target are identical ... but for moving files that seems to be not
relevant. (Though iirc there is some other open bug requesting a "rename"
button on copy/move dialog )

A member "replace_confirmed" per file and "don't ask for confirmation"  sound
good to me!

You are receiving this mail because:
You are the assignee for the bug.

More information about the Xfce-bugs mailing list