[Xfce-bugs] [Bug 16686] Option to rename a file when existing copy conflicts

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Apr 16 16:36:46 CEST 2020


https://bugzilla.xfce.org/show_bug.cgi?id=16686

Reuben Green <reubengreen73 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reubengreen73 at gmail.com

--- Comment #4 from Reuben Green <reubengreen73 at gmail.com> ---
I've given this a quick test and it seems to work as intended with no problems.
I think it's good to have the option to rename rather than just replace or
skip/cancel.

I think it might be better to have a renamer dialog here rather than just
appending the "copy" suffix. My reasoning is as follows: when you copy a file
into the same directory, the new file is a copy of the original, so you have
"file_a" and "file_a (copy 1)" where "file_a (copy 1)" really is a copy of
"file_a". But if you are pasting some "file_a" from another directory into a
directory already containing a "file_a", then there is no guarantee that the
two files will be the same, and if you rename the pasted file to "file_a (copy
1)" then it might not be the case that the file called "file_a (copy 1)" is a
copy of "file_a". Maybe I am being too pedantic here though...

For more than one file, perhaps you should open the bulk renamer? Also, there
is now a new widget in libxfce4ui called XfceFilenameInput that is specifically
for filename input and should make implementing a renamer dialog a bit easier.
It is not used in thunar yet but I am planning to fix this soon!

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


More information about the Xfce-bugs mailing list