"Compare by content" display problem

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: "Compare by content" display problem

Post by *Usher »

2XuaLee
You are right, in this case TC in both panes refreshes properly only the area with size of the smaller pane. You can revert the situation:
- open large file in the left pane and small file in the right pane
- switch panes to vertical view
- make the bottom pane smaller
- select view only differences
- press Ctrl+End
Now there is a problem with the top pane.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
XuaLee
Junior Member
Junior Member
Posts: 46
Joined: 2020-01-08, 20:14 UTC
Location: Vienna, Austria

Re: "Compare by content" display problem

Post by *XuaLee »

I've tested that with several versions, each with clean standard install.
The strange behavior starts with v9.21a (v9.12 + v9.00 was ok)

I've done some ScreenShots (each with RC2):

1) After Ctrl+End, with larger file in the (smaller) upper display
(remaining text not deleted in the bottom display, just cleared up to height of upper display)

2+3) After click into main window and then click in the bottom display of the compare window
(part of the clicked file list appears in the bottom display)

4) After Ctrl+End, with larger file in the (larger) bottom display
(remaining text not deleted in the bottom display,
only a few bottom lines, equal to the height of upper display)

5) After scrolling with the mouse wheel in the bottom display
(remaining lines disappear, but several empty bottom lines instead)

6) After clicking in upper + lower display several times
(destroyed bottom display)

7) After toggle to fullscreen
(destroyed bottom display)

8 ) After scrolling up with destroyed display
(seems to be ok again)

9) After window resizing with the mouse
(destroyed bottom display)

See https://www.dropbox.com/s/kfirxflz410f7y8/TC%209.50RC2%20Compare%20ScreenShots.7z?dl=1

(font Consolas Standard 10, 100% scaling, 1920x1200, HP Z2 Mini G3 with nVidia Quadro M620, nVidia Driver 431.70)
Windows 10 Pro 64bit 22H2 19045.4170 | Total Commander (x64) 11.03 #44961
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: "Compare by content" display problem

Post by *petermad »

I can confirm the bug too - but only when the sizes of the two panels are different - as pointed out by XuaLee
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: "Compare by content" display problem

Post by *ghisler(Author) »

Thanks, I was finally able to reproduce it! I have sent test versions to 2sky66 and petermad, please test.

Note: There will be unnecessary extra blank lines at the end of the files. It's difficult to get rid of them, so I will keep them for now in TC 9.50. I will try to find a solution later to remove them.
Author of Total Commander
https://www.ghisler.com
sky66
Member
Member
Posts: 149
Joined: 2014-02-22, 08:44 UTC

Re: "Compare by content" display problem

Post by *sky66 »

2ghisler(Author)
The redundant lines no longer exist on TC RC2d , thanks for the update.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: "Compare by content" display problem

Post by *ghisler(Author) »

Great, thanks for the quick feedback!
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: "Compare by content" display problem

Post by *petermad »

I can confirm the fix too in TC 9.5rc2d 32bit and 64bit :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: "Compare by content" display problem

Post by *ghisler(Author) »

Great, thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply