Odd sorting

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
MSpagni
Expert Member
Posts: 642
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Odd sorting

Post by MSpagni »

There is a (new) problem with the empty directories.

Code: Select all

Panel A:			             Panel B:
AFile1	.\DirA\DirB	      AFile1	.\DirA\DirB
AFile2	.\DirA\DirB         AFile2	.\DirA\DirB
AFile3	.\DirA\DirB         AFile3	.\DirA\DirB
 				                 DirC     .\DirA\DirB
DirD	  .\DirA\DirB	      DirD	  .\DirA\DirB
NFile1   .\DirA\DirB	      NFile1	.\DirA\DirB
XFile1   .\DirA\DirB\DirC
XFile2   .\DirA\DirB\DirC
XFile3   .\DirA\DirB\DirC
N.B. Sort first directory by relative path, ascending order and combine first and second directory.

It's very annoying to have the empty directory not immediately above the correspondent full one.
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Odd sorting

Post by psguru »

I'm afraid I don't understand. DirC and DirD are empty directories, and they behave just like files of DirB. If DirC (on the right) is placed after NFile1, then it's not following the sort order.

Looks like what you want is:

Code: Select all

    Panel A:                      Panel B:
    AFile1   .\DirA\DirB         AFile1   .\DirA\DirB
    AFile2   .\DirA\DirB         AFile2   .\DirA\DirB
    AFile3   .\DirA\DirB         AFile3   .\DirA\DirB
    DirD     .\DirA\DirB         DirD     .\DirA\DirB
    NFile1   .\DirA\DirB         NFile1   .\DirA\DirB
                                 DirC     .\DirA\DirB
    XFile1   .\DirA\DirB\DirC
    XFile2   .\DirA\DirB\DirC
    XFile3   .\DirA\DirB\DirC
Now, imagine that you have .\DirA\DirB\Dirb2\XFile1 on the right. Then the result of your suggestion would look like this:

Code: Select all

    Panel A:                      Panel B:
    AFile1   .\DirA\DirB         AFile1   .\DirA\DirB
    AFile2   .\DirA\DirB         AFile2   .\DirA\DirB
    AFile3   .\DirA\DirB         AFile3   .\DirA\DirB
    DirD     .\DirA\DirB         DirD     .\DirA\DirB
    NFile1   .\DirA\DirB         NFile1   .\DirA\DirB
                                 XFile1   .\DirA\DirB\Dirb2
                                 DirC     .\DirA\DirB
    XFile1   .\DirA\DirB\DirC
    XFile2   .\DirA\DirB\DirC
    XFile3   .\DirA\DirB\DirC
and the relative path sorting of Panel B is incorrect. The current version will show this correctly:

Code: Select all

    Panel A:                      Panel B:
    AFile1   .\DirA\DirB         AFile1   .\DirA\DirB
    AFile2   .\DirA\DirB         AFile2   .\DirA\DirB
    AFile3   .\DirA\DirB         AFile3   .\DirA\DirB
                                 DirC     .\DirA\DirB
    DirD     .\DirA\DirB         DirD     .\DirA\DirB
    NFile1   .\DirA\DirB         NFile1   .\DirA\DirB
                                 XFile1   .\DirA\DirB\Dirb2
    XFile1   .\DirA\DirB\DirC
    XFile2   .\DirA\DirB\DirC
    XFile3   .\DirA\DirB\DirC
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 642
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: Odd sorting

Post by MSpagni »

Suppose you have a directory that's empty in a panel and full in the other.
Very often you can not immediately see that the things are as they are because the entries are more than a screenful apart and, often, even if they are closer, you can not immediately match them.
I feel this very very uncomfortable.

Luckily, if you have an empty directory without apparently any correspondent item in the other pane EDP dont' let you copy it to the other pane! (Yuk!)

In a word: I by far prefer the sort order of version 5.0, irrelevant of the presence or not of the "<empty directory>" label.
MSpagni
Expert Member
Posts: 642
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: Odd sorting

Post by MSpagni »

Just in case I didn't convey correctly my feelings: the new sorting order is so much uncomfortable to me that I had to go back to version 5.0.
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Odd sorting

Post by psguru »

We are looking into this. The way empty directories are shown will not change but perhaps there's a way to change the way they are sorted.
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 642
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: Odd sorting

Post by MSpagni »

Right that.
It's ok how the empty directories appear; what's terrible is where (i.e. the way they are sorted)!

Thank you very much.
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Odd sorting

Post by psguru »

Build 5.5.0.3 restores the 5.0 method of sorting empty directories.
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 642
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: Odd sorting

Post by MSpagni »

Phew!
Thank you very, very, very much.
Post Reply