Page 1 of 2
Slight change to Edit | Compare
Posted: 18 Jun 2013 18:21
by serendipity
Hi Don,
I first thought Edit | Compare | Compare Current File with Previous File did not work, that's because I almost always use selection rectangle to select files. But seems like I have to explicitly click on the two files to make compare work.
Very lo-prio request, but thought I should report it.
Re: Slight change to Edit | Compare
Posted: 18 Jun 2013 19:01
by admin
Well, it's like it is. Selection rectangle does not count as "current item" in XY. And only the "current" item can become the "previous" item.
Re: Slight change to Edit | Compare
Posted: 18 Jun 2013 19:32
by serendipity
OK, thanks for clarifying.
Re: Slight change to Edit | Compare
Posted: 18 Jun 2013 19:40
by TheQwerty
Just to clarify my understanding.. you're attempting to compare two items that you have selected?
Or are you trying to compare the current selection to the previous item?
Or something else entirely?
Because for the former I too find it a bit annoying that you can't make a selection of two items and have XY just compare them to each other.
Re: Slight change to Edit | Compare
Posted: 18 Jun 2013 19:59
by serendipity
TheQwerty wrote:Just to clarify my understanding.. you're attempting to compare two items that you have selected?
Or are you trying to compare the current selection to the previous item?
Or something else entirely?
Because for the former I too find it a bit annoying that you can't make a selection of two items and have XY just compare them to each other.
I thought the same until now because I always used selection rectangle to select items.
Today for whatever reason I selected two items one-by-one using ctrl+click and then "compare current file with previous file" works fine.
I was pleasantly surprised but also annoyed that i did not try this way of selection before.
On a side note, the term "Compare Current File with Previous File" is somewhat unclear. I find
Selected File much better.
My choice of words for 3 menu options in Compare would be:
1. Compare two selected files
2. Compare selected file with clipboard file
3. Compare Selected file in both panes
Re: Slight change to Edit | Compare
Posted: 18 Jun 2013 20:03
by admin
No, "Current" is the correct term. Exactly because of the difference between "current" and "selected" which I explained in the other post.
Re: Slight change to Edit | Compare
Posted: 18 Jun 2013 20:07
by TheQwerty
serendipity wrote:I thought the same until now because I always used selection rectangle to select items.
Today for whatever reason I selected two items one-by-one using ctrl+click and then "compare current file with previous file" works fine.
I was pleasantly surprised but also annoyed that i did not try this way of selection before.
On a side note, the term "Compare Current File with Previous File" is somewhat unclear. I find Selected File much better.
My choice of words for 3 menu options in Compare would be:
1. Compare two selected files
2. Compare selected file with clipboard file
3. Compare Selected file in both panes
You have to think of "Current File with Previous File" as "Currently Focused & Selected File with Previously Focused & Selected File".
Don, any reason there isn't the forth option of "Compare Selected Files" only available when 2 items are selected and would thus work for those using the selection rectangle? EDIT: Though really it could just as easily work for more than 2 files.
Re: Slight change to Edit | Compare
Posted: 18 Jun 2013 20:17
by admin
TheQwerty wrote:Don, any reason there isn't the forth option of "Compare Selected Files" only available when 2 items are selected and would thus work for those using the selection rectangle? EDIT: Though really it could just as easily work for more than 2 files.
Nobody ever asked for it

Re: Slight change to Edit | Compare
Posted: 18 Jun 2013 20:28
by serendipity
admin wrote:No, "Current" is the correct term. Exactly because of the difference between "current" and "selected" which I explained in the other post.
OK, got it.
Another thing:
When I rectangle select two files it gives an error (which you explained why), but the second point in the error window says:
(2) Select another file in the file list (need not be in the same folder)
Regarding the
need not be in the same folder, it works only if i use tree to navigate to another folder and select another file there.
If i double click a folder in the same list and select a file there, it takes the folder i double-clicked as previous file and gives an error saying its not a file.
Maybe don't make the folder as previous file if I double clicked?
Re: Slight change to Edit | Compare
Posted: 18 Jun 2013 20:42
by grindax
.
Re: Slight change to Edit | Compare
Posted: 19 Jun 2013 08:39
by admin
grindax wrote:All this talk about comparing files has made me think about what it could be like for XY to have some more sophisticated functionality for comparing file hashes (since that is what it's already doing under the hood but very little is actually shown in the GUI).
I use an excellent, portable program called VisualHash quite frequently, and I think that having that functionality directly in a file manager would be very natural and useful.
I'm aware that certain scripting functions can already be used in XY to do this to a degree (and I've done it in the past), but a more accessible and friendly feature built in to the user interface would be much better. Anyways, just my quick thoughts on this somewhat-related topic. As you were.

Tell me more. What are you thinking of?
Re: Slight change to Edit | Compare
Posted: 19 Jun 2013 08:43
by admin
serendipity wrote:
Regarding the need not be in the same folder, it works only if i use tree to navigate to another folder and select another file there.
If i double click a folder in the same list and select a file there, it takes the folder i double-clicked as previous file and gives an error saying its not a file.
Maybe don't make the folder as previous file if I double clicked?
I see the issue, but this cannot be solved easily. In such cases you can use "Compare Current File with File in Clipboard".
Re: Slight change to Edit | Compare
Posted: 19 Jun 2013 18:57
by grindax
.
Re: Slight change to Edit | Compare
Posted: 19 Jun 2013 20:32
by serendipity
admin wrote:serendipity wrote:
Regarding the need not be in the same folder, it works only if i use tree to navigate to another folder and select another file there.
If i double click a folder in the same list and select a file there, it takes the folder i double-clicked as previous file and gives an error saying its not a file.
Maybe don't make the folder as previous file if I double clicked?
I see the issue, but this cannot be solved easily. In such cases you can use "Compare Current File with File in Clipboard".
I don't use this often, so no big deal.
Re: Slight change to Edit | Compare
Posted: 20 Jun 2013 12:03
by admin
grindax wrote:I think it would be handy to be able to select a bunch of files and/or folders directly in XY and then get a pop-up window showing a chosen type of hash for those files. With an option at the bottom to copy to clipboard, or even save as a file.
I made an experiment on script level. Next version (v12.50.0006) select some files and try any of these:
Code: Select all
hashlist "md5";
hashlist "sha1";
hashlist "sha256";
hashlist "sha512";
hashlist "crc32";
Okay?