"Compare by content" display problem

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

Moderators: white, Hacker, petermad, Stefan2

sky66
Member
Member
Posts: 149
Joined: 2014-02-22, 08:44 UTC

"Compare by content" display problem

Post by *sky66 »

Windows 8.1 64bit, TC 9.2x ~ 9.50RC2 with all default setting.

1. Use Compare by content to compare "descript.ion" with "HISTORY.TXT" in TOTALCMD directory.

2. Use Vertical arrangement

3. Vertical percentage around 40% or 30%.

4. Check "Show only differences"

5. Press Ctrl+End, the display got problem on the bottom side.

TC 9.12 is OK.

Image: https://i.imgur.com/hEPknLv.png
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: "Compare by content" display problem

Post by *ghisler(Author) »

Unfortunately I cannot reproduce it. I tried on Windows 8.1 64-bit with default TC settings.
Which font, font size, and font language do you use? It doesn't look like the default.
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 »

Also tested on Win 10 64bit, I got the same problem.
Font: Courier New, font size: 8, and font language: West Europe (default setting)

The previously image use font size:13.

Tested on Win 10 64bit.
Image: https://i.imgur.com/kkcCP7A.png

Another symptom.
Image: https://i.imgur.com/dM6D1F1.png

====
Win 10 64bit + TC 9.12 => OK

If TC 9.50rc2 use horizontal arrangement => OK

Or if 9.50rc2 UnCheck "Show only differences" => OK
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: "Compare by content" display problem

Post by *ghisler(Author) »

Unfortunartely I cannot reproduce it on Windows 10 either. I tried with 3 different resoluatuions:
1. 1920x1080, 100% scaling
2. 1920x1080, 150% scaling
3. 3840x2160, 200% scaling

Which resolution do you use?

Is anyone else able to reproduce the problem?
Author of Total Commander
https://www.ghisler.com
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 »

2sky66
It's definitely NOT Courier New on your screenshots. It looks line Times New Roman. You should first fix your font cache in Windows.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: "Compare by content" display problem

Post by *ghisler(Author) »

Usher is right, it looks like Courier New characters, but as a variable pitch font (not all characters have the same width). However, Courier New is a fixed pitch font.
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)
Win 8.1(NB), 1920x1080
Win 10(PC), 1920x1080, both 100% and 125% scaling has the same problem.

I also tried to change different font and size, still have the same problem.
Image: https://i.imgur.com/ySwzq9U.png

I tested several version of TC, 9.12 is OK. The bottom side is blank.
Image: https://i.imgur.com/dO9vqjR.png

Display problem start from TC 9.2x.
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 »

2sky66
What is your graphic card? Have you tried to change its drivers?

BTW. Even if you fix your font cache, metrics for all the fonts may be mismatched before you restart Windows.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: "Compare by content" display problem

Post by *ghisler(Author) »

I have compared the code of the compare tool in Total Commander 9.12 and 9.22, and there are only very few changes.

The most important is that in the newer versions, the window is created as a popup window and not as a main window. I don't know if this can have your effect, but it would be nice if you could test it.

I have therefore sent you a test version to your forum e-mail from my GMail address. It would be nice if you could check that soon. Thanks.
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 »

2Usher
Win 8.1(NB) ATI chip graphic card .
Win 10(PC) Nvidia chip graphic card.
I did not change graphic card driver.

I just tried to fresh install TC 9.22a on virtual machine Win XP with virtual graphic card.
It still have the same problem on the bottom side.

Image: https://i.imgur.com/LjRf08L.png
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: "Compare by content" display problem

Post by *ghisler(Author) »

Is this test already with the private test version rc2c?
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)
Unfortunartely, rc2c 32 & 64 bit still have the same problem.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: "Compare by content" display problem

Post by *ghisler(Author) »

Do you use any common 3rd party software on all of these PCs? It's strange that no one in the whole world has ever seen this problem, and you have it on 3 different PCs...
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)
No, TC 9.22a on virtual machine Win XP is the only one software installed.

And I found there is a new function in TC 9.20 beta 3, but I don't have TC 9.20b3 and 9.20b2 for comparison.
"16.05.18 Added: Compare by content: Select all with Ctrl+A both in read only mode and editor mode (32/64)"

BTW, the display symptom looks like the bottom side did not refresh well.
===
I just download and tested TC 9.20b1~b3 from official web site.
This problem start from TC 9.20b1, it doesn't matter with Ctrl+A function.
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 can confirm that behaviour. With v9.50RC2 AND also v9.22a. Regardless of font and scaling.
Occurs only, when "Show only differences" is activated and the height of the 2 display ranges is different.

It seems, that the display refresh just "forgets" to clear the remaining lines of the larger window.
The redundant lines at the bottom are not really selectable afterwards.

(W10pro64 + TC64; 1920x1200, 100% scaling, Consolas 11pt std)
Windows 10 Pro 64bit 22H2 19045.4170 | Total Commander (x64) 11.03 #44961
Post Reply