diff bars

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

diff bars

Post by MSpagni »

I had the feeling there is something wrong with the diff bars. Now I'm sure.

In the 32 bit version the "changed files" are not shown at all.
In both versions, in many cases the diff bar is out of synch with the scrollbar cursor.
In some cases (I can't say exacly when), after some operations the diff bar is not updated.

Off topic: I don't like the "auto-higlight" on mouse over; even less since, if the movement is fast, some lines remain inopportunely higlighted.
MSpagni
Expert Member
Posts: 587
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: diff bars

Post by MSpagni »

MSpagni wrote: Thu Aug 01, 2024 4:20 am In the 32 bit version the "changed files" are not shown at all.
I looked too simple!
I have to add: "in some cases (but I don't know which one)" :(
User avatar
psguru
Site Admin
Posts: 2309
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: diff bars

Post by psguru »

So is there a reproducible scenario?
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 587
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: diff bars

Post by MSpagni »

As per Murphy's law, at the moment the short anwser is: no. :(
Maybe later...
MSpagni
Expert Member
Posts: 587
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: diff bars

Post by MSpagni »

"A whiter shade of pale" or, maybe, "50 shades of..." :lol:
In the diff bars the "changed" files are indicated with a sligtly darker shade of blue than that of the "deleted".
Too easy be fooled.

I found a case in which the diff bars simply aren't there.
It seems reproducible, but I'm trying to avoid sending you two copies of my 1TB disc... :roll:
User avatar
psguru
Site Admin
Posts: 2309
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: diff bars

Post by psguru »

I presume you are talking about "color bars" on the left sides of dir views? Their color is controlled by "Use foreground colors for the color bars" in Display options and, of course, your colors for different item types.
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 587
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: diff bars

Post by MSpagni »

psguru wrote: Thu Aug 01, 2024 10:29 am I presume you are talking about "color bars" on the left sides of dir views
Nope.
I'm talking about what you call "Diff bars".
See Options->Display->Show diff bars: width (pixels).

I discovered that they are not present if the whole list can be seen in a single screen.
Quite logical. This case is a false alarm.
User avatar
psguru
Site Admin
Posts: 2309
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: diff bars

Post by psguru »

I discovered that they are not present if the whole list can be seen in a single screen.
Hmm, I'm not sure what you mean.
Screenshot 2024-08-01 133839.png
Screenshot 2024-08-01 133839.png (118.95 KiB) Viewed 10988 times
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 587
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: diff bars

Post by MSpagni »

Since in your screenshot the 5 items can be seen in a window without scroll, then there is no diff bars.
Include more items and/or slim down the window and the diff bars appear.
It's logical; a feature, not a bug.
User avatar
psguru
Site Admin
Posts: 2309
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: diff bars

Post by psguru »

Hmm, diff bars are always visible, on the left. What you are saying is true for "color bars".
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 587
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: diff bars

Post by MSpagni »

Nope again.
The visibility if the diff bars (those higlighted in the screenshot) follows exactly the visibility of the (vertical) scroll bars. No scroll bars, no diff bars.
Anyway, this is absolutely correct.
The problems are others.
Attachments
Clipboard01.jpg
Clipboard01.jpg (61.5 KiB) Viewed 10983 times
User avatar
psguru
Site Admin
Posts: 2309
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: diff bars

Post by psguru »

Except these are, again, called "color bars".
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 587
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: diff bars

Post by MSpagni »

Ops! You're right. Sorry.
I was sure I saw them changing when I changed "Options->Display->Show diff bars: width (pixels)."
Apparently I'm boiled. (It's very hot down here, and with 80% RH!)

By the way: try to enter a two digit number in that edit box.
After the first digit you get "Enter an integer between 12 and 32."
You first have to unselect that digit and then enter the second one.
Luckily there are the up-down buttons. :wink:
User avatar
psguru
Site Admin
Posts: 2309
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: diff bars

Post by psguru »

By the way: try to enter a two digit number in that edit box.
After the first digit you get "Enter an integer between 12 and 32."
You first have to unselect that digit and then enter the second one.
Yeah, this is kind of a genius implementation of limits in MFC.
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 587
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: diff bars

Post by MSpagni »

Recipe:
  1. Compare a couple of trees with some differences (even only one is enough).
  2. Go to current diff (ctrl-F7).
  3. Single click on any identical file, obviously out of the current diff :D, so as to "select it".
  4. The color bar goes bananas... :!:
  5. Recompare, and the color bar is restored.
  6. Switch to a different program/window.
  7. Come back to EDP.
  8. The color bar has gone bananas... :!:
  9. Repeat at wish...
Post Reply