Must Show Different to Show L/R Unique: Fldr Cmpr
Windows visual diff and merge for files and directories
Brought to you by:
christianlist,
grimmdp
Version 2.11.1.4 Unicode
This is in Folder Compare:
Must have View->Show Different checked
to have View->Show Left/Right Unique *work*
This seems to only be true of files in sub-folders.
A unique file in the "root" folder of the Folder compare will show up with-out the View->Show Different checked...
WinMerge considers unique items as being different. This logic comes from on/off logic - unique items are rather different than identical.
The desired behavior is to Only see the Left (or Right) Unique files--and none of the "Different" files that exist on both sides...
I think this is the behavior in earlier versions. I've been using WinMerge since about 2.2 or 2.4...
I can check earlier versions if needed.
I checked and this is the behavior in 2.10.0.0;
Unchecking the Different but leaving Left / Right Unique results in the Unique files/folders showing but not-the different files that exist on both sides...
Oh. Then I was wrong. Thanks for checking!
I assumed there were no changes related to this between 2.10.0 and current experimentals, so I must have missed something. Must be related to new tree-style view or unique items.
Assigning to me.
Patch
I haven't been able to really track this down to when it broke. I think it broke (as lots of other stuff) when we added tree-mode and showing of items in unique folders.
However I think I found small bug in how we determine what items to show. We are first checking for compare result (and if no match hide) and only after that check for unique items.
But we must check first for unique items. If item is unique, its not different or identical, so further checks are unnecessary. This change should also fix this bug.
Attaching a patch (Unique_show_fix.patch).
File Added: Unique_show_fix.patch
Great find!
Thanks! :-)
Fix committed to SVN trunk:
Completed: At revision: 6393
Committed the fix to 2.12 branch:
Completed: At revision: 6414
So the bug will be fixed in next beta and stable releases.
Still not working in Version: 2.13.3 Unicode
View->Differences + Left unique
Shows Different and Left unique
View->Left unique
Shows Nothing...
For RIGHT UNIQUE it Works.
Just broken for LEFT Unique.?
And it still works as expected in 2.10.4
Thanks for testing. I'll look what is going on, since left/right visibility *should* be almost identical..
Ok, this is because of the real tree-structured compare results WinMerge now creates. In tree-mode results view we hide contents of the "different" folders if "shown different" is not selected. Which is natural way to work in that view. This now confuses the flat view logic. Apparently I missed the difference in visibility logic for subfolders which are not shown but only files inside them.
Attaching a patch that disables checking for identical/different status for folders in flat result view. After short testing this looks to be working now ok. (Show_unique_in_flat_view.patch)
File Added: Show_unique_in_flat_view.patch
Differentiate tree-view and flat view
Fix committed to SVN trunk:
Completed: At revision: 6495
and to 2.12 branch:
Completed: At revision: 6496
Can you test 2.13.4 experimental?
It works! 2.13.4
Tried all possible combinations, and got the display I expected.
Thanks!
Great Work! :-D
Closing. Fix Verified.