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 691317 - documentation of small star on folder icons during dirdiff?
documentation of small star on folder icons during dirdiff?
Status: RESOLVED FIXED
Product: meld
Classification: Other
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: meld-maint
meld-maint
Depends on:
Blocks:
 
 
Reported: 2013-01-07 22:44 UTC by Scott Kostyshak
Modified: 2016-12-31 07:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot 1 - Meld comparison results (90.31 KB, image/png)
2013-02-22 14:42 UTC, jason
Details
Screenshot 2 - Directory 1 in Nautilus (61.38 KB, image/png)
2013-02-22 14:43 UTC, jason
Details
Screenshot 3 - Other directory in Nautilus (55.78 KB, image/png)
2013-02-22 14:44 UTC, jason
Details
Stat results - 1 (51.44 KB, image/png)
2013-02-26 15:19 UTC, jason
Details
Stat results - 2 (53.48 KB, image/png)
2013-02-26 15:19 UTC, jason
Details

Description Scott Kostyshak 2013-01-07 22:44:46 UTC
I was confused when doing a dirdiff by what the significance could be
of the small star in the upper right of the folder icons in the dir
trees. I read most of the documentation here:
http://meldmerge.org/help/ but I did not see it mentioned. It turns out it is in the documentation and that I missed it. Thus, this is my mistake and not a bug.

Kai pointed out the last phrase in the "States in folder comparisons" -- "Finally, the most recently modified file/folder has an emblem attached to it."

(from Kai's email, https://mail.gnome.org/archives/meld-list/2013-January/msg00004.html):
<<Problem is that I didn't want to say "it's the little star", because that's theoretically themeable. In practice, we ship our own version of the icon, so we probably should just say it; could you please file a bug? Ideally, that whole section would have a graphic showing what the states actually *look* like, but images in docs tend to get out of date.>>
Comment 1 jason 2013-02-22 14:42:44 UTC
Created attachment 237189 [details]
Screenshot 1 - Meld comparison results
Comment 2 jason 2013-02-22 14:43:32 UTC
Created attachment 237190 [details]
Screenshot 2 - Directory 1 in Nautilus
Comment 3 jason 2013-02-22 14:44:06 UTC
Created attachment 237191 [details]
Screenshot 3 - Other directory in Nautilus
Comment 4 jason 2013-02-22 14:48:31 UTC
Meld is a fantastic product! Thank you for making it.

I noticed the emblem / star when using meld. Note in the attached screenshots that ScreenShot1 (ss1) shows the stars imposed on the file icons.

ss2 and ss3 show the actual files as reported by Nautilus. Date Modified for the particular files are identical.

Is Meld using other data than the shown date / time to make the comparison?

Meld online help says "Finally, the most recently modified file/folder has an emblem attached to it." Am I missing some information as date and time are the same?

Looking for clarification.

Thanks again for a great piece of software.

All the best,

Jason A.
Comment 5 Scott Kostyshak 2013-02-23 15:47:27 UTC
Although the date appears to be identical in your file browser, do you that the underlying data is identical?

Run "stat <filename>"
That should give you an idea.

Best,

Scott
Comment 6 jason 2013-02-26 15:14:43 UTC
Aha... There are small differences in the time. Usually in milliseconds.

So does Meld compare the contents of the binary files then to determine that they are in fact the same?
Comment 7 jason 2013-02-26 15:19:14 UTC
Created attachment 237450 [details]
Stat results - 1
Comment 8 jason 2013-02-26 15:19:45 UTC
Created attachment 237451 [details]
Stat results - 2
Comment 9 jason 2013-02-26 15:31:31 UTC
Hmmm. Apparently Meld does not compare biniary file data as I tried to do a file / file compare and Meld didn't like it.

Is Meld then comparing file sizes and blocks and making a comparison decision based on that info?
Comment 10 Kai Willadsen 2013-03-02 03:33:46 UTC
This isn't the place for general discussion, but anyway.

By default, Meld does a byte-by-byte binary comparison when in folder mode. However, actually showing a binary diff is a *very* different proposition to showing a text diff, and we don't support that in file comparisons.

In 1.7.1, Meld also has a shallow comparison option for folder comparisons. If you enable that, Meld will compare files based on size and mtime.
Comment 11 Kai Willadsen 2016-12-30 21:39:00 UTC
In current master I've just updated the docs on this to mention that it's a star.

This is kind of silly, but there's not much else we can do docs-wise. There's an open bug for adding a legend (though I have no idea what that might look like) and bug 677360 talks about providing more information (hopefully helping to de-mystify some of this) in a tooltip (which seems to be okay, based on my prototype implementation).

Thanks for the bug report.
Comment 12 Scott Kostyshak 2016-12-31 07:18:41 UTC
Thanks, Kai!