Page 1 of 2

diff bars

Posted: Thu Aug 01, 2024 4:20 am
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.

Re: diff bars

Posted: Thu Aug 01, 2024 4:28 am
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)" :(

Re: diff bars

Posted: Thu Aug 01, 2024 8:02 am
by psguru
So is there a reproducible scenario?

Re: diff bars

Posted: Thu Aug 01, 2024 8:40 am
by MSpagni
As per Murphy's law, at the moment the short anwser is: no. :(
Maybe later...

Re: diff bars

Posted: Thu Aug 01, 2024 10:17 am
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:

Re: diff bars

Posted: Thu Aug 01, 2024 10:29 am
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.

Re: diff bars

Posted: Thu Aug 01, 2024 12:04 pm
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.

Re: diff bars

Posted: Thu Aug 01, 2024 12:27 pm
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 53650 times

Re: diff bars

Posted: Thu Aug 01, 2024 12:49 pm
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.

Re: diff bars

Posted: Thu Aug 01, 2024 12:53 pm
by psguru
Hmm, diff bars are always visible, on the left. What you are saying is true for "color bars".

Re: diff bars

Posted: Thu Aug 01, 2024 1:22 pm
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.

Re: diff bars

Posted: Thu Aug 01, 2024 1:46 pm
by psguru
Except these are, again, called "color bars".

Re: diff bars

Posted: Fri Aug 02, 2024 12:17 am
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:

Re: diff bars

Posted: Fri Aug 02, 2024 8:24 am
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.

Re: diff bars

Posted: Sun Aug 11, 2024 12:22 am
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...