Compare tool: panels jumps when scrolling down at the end

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
alexantr
Junior Member
Junior Member
Posts: 3
Joined: 2020-03-16, 12:38 UTC

Compare tool: panels jumps when scrolling down at the end

Post by *alexantr »

Try to compare by content some files, scroll to the end and continue scrolling down. Left and right panels jump randomly.

Demonstration: https://imgur.com/a/6zNyweg

I tested versions 9.22a, 9.50 and 9.51RC5 (x64, fresh installations with default settings and no plugins).

Versions 9.50 and 9.51RC5 have bug, version 9.22a has no bug.

OS: Windows 10 Enterprise 1909
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Compare tool: panels jumps when scrolling down at the end

Post by *petermad »

I cannot reproduce this - I have tested with TC 9.51RC5 32bit and 64bit under Windows 10 Home 1909, without any screen zooming (system DPI scaling) and clean ini files
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
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Compare tool: panels jumps when scrolling down at the end

Post by *Horst.Epp »

Not confirmed
Tested with TC 9.51 RC5 x86 and x64
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Compare tool: panels jumps when scrolling down at the end

Post by *petermad »

I have now tested some more and I can now reproduce it with certain file-sizes and certain window sizes.

I can reproduce it this way with TC 9.51RC5 32bit and 64bit under Windows 10 Home 1909:
  1. Make a copy (wcmd_deu2.mnu) of the current wcmd_deu.mnu file and make a change to line 114 in the copy.
  2. Start TC with a clean ini file.
  3. Open the compare tool with the two files.
  4. Resize the compare window until it is at least 1187 pixels wide (maximize it on most systems).
  5. Scroll to the bottom with the scroll wheel and keep scrolling. I can only reproduce it with the scroll wheel.
With my usual font setting (Lucida console 7), I can actually reproduce it with any window size (with those two files).

If I try doing the same with for example wcmd_deu.lng file I cannot reproduce it, nor can I with shorter files (2500 bytes).
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 tool: panels jumps when scrolling down at the end

Post by *ghisler(Author) »

This can happen when the two sides do not end exactly at the same position in the list: The side which you scroll tells the other side to scroll too - but when there is no line left to scroll to, it scrolls back. Unfortunately it's almost impossible to avoid, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Compare tool: panels jumps when scrolling down at the end

Post by *petermad »

This can happen when the two sides do not end exactly at the same position in the list:
But in my example the two files have exactly the same number of lines.
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 tool: panels jumps when scrolling down at the end

Post by *ghisler(Author) »

Sorry but I cannot reproduce that. It only occurs when they have differnt length here.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Compare tool: panels jumps when scrolling down at the end

Post by *petermad »

2ghisler(Author)
Did you read the part about the window needs to have a certain width? - try with different widths and/or maximized window.
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 tool: panels jumps when scrolling down at the end

Post by *ghisler(Author) »

Yes I did, I used full screen compare tool (full hd).
Author of Total Commander
https://www.ghisler.com
Post Reply