After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 654289 - File replace dialog should help user check if files are the same
File replace dialog should help user check if files are the same
Status: RESOLVED DUPLICATE of bug 654699
Product: nautilus
Classification: Core
Component: File and Folder Operations
2.32.x
Other Linux
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-09 06:34 UTC by Philip Ganchev
Modified: 2013-03-25 14:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philip Ganchev 2011-07-09 06:34:47 UTC
After a great improvement, the file replace dialog now shows file sizes and modification times for the source and the destination file, and lets the user copy the source file under a new name instead of replacing the destination file.

But still it is often unclear if the files are the same. Here are some changes that would make differences easier to see:

0. Let users open the files from the dialog.

1. Show the file sizes in bytes instead of kB

2. If the files are text, audio, video or office files, show a preview as we do for image and PDF files.

3. Check if the file type is the same; this is not necessarily the case if the files have the same name.

4. If the files have extra attributes, such as dimensions for image files, show those too.

5. Show any differences in size etc in bold text.

6. If the files match in size, mod time, etc, do a diff in the background while waiting for the user to reply. (Show a status notification saying "Comparing the contents of the two files..." until the diff is complete.)

6a. If the contents are the same, say so, grey out the buttons and, after a short delay, dismiss or fade out the dialog.

6b. If the contents differ and the files are text files, show the differences in a drop-down pane.

Related to those, make the file name selectable so that users can copy it for pasting.
Comment 1 Philip Ganchev 2011-07-09 06:35:37 UTC
This is related to #47893 which made the original improvement to the dialog.
Comment 2 Cosimo Cecchi 2013-03-25 14:24:11 UTC
Let's track these kind of checks for content equality in bug 654699.

*** This bug has been marked as a duplicate of bug 654699 ***