TC7 final - Compare contents,synchronization and mouse wheel

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
white
Power Member
Power Member
Posts: 5744
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

TC7 final - Compare contents,synchronization and mouse wheel

Post by *white »

  1. Select two files and open the Compare contents dialog (menu Files/Compare By Content).
  2. Adjust the separator between the panels so the right panel HAS a horizontal scroll bar and the left has NO horizontal scroll bar.
  3. Make sure the left panel has focus.
  4. Press the End key to go to the last line.
  5. Scroll downward using the mouse wheel.
  6. Synchronization is off one or more lines!
The same thing occurs when you switch left and right in step 2 and 3.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can NOT confirm that under the given conditions:

http://madsenworld.dk/tcmd/cbcscroll.png

There must be some other setting(s) required to reproduce this.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
white
Power Member
Power Member
Posts: 5744
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

I also tried TOTALCMD.INC.
I copied TOTALCMD.INC to TOTALCMD.INC3 and removed the first line of TOTALCMD.INC3.

Before mouse wheel scroll
After mouse wheel scroll

OS: Windows 98
User avatar
Flint
Power Member
Power Member
Posts: 3501
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

I confirm the bug, even without deleting the lines - I just copied totalcmd.inc to totalcmd.inc3 and added a space to one of the lines.

Here is the video:
EXE, AVI (needs MSU Codec)
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately this cannot be avoided - the other window cannot be scrolled any further because there are no more lines. however, it's not a big problem because when you scroll in the other direction, the two sides become aligned again. It also has no influence on the editor.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 5744
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Post by *white »

ghisler(Author) wrote:Unfortunately this cannot be avoided
Maybe it can be avoided if you would always display or hide the horizontal scrollbars at both sides.
ghisler(Author) wrote:it's not a big problem because when you scroll in the other direction, the two sides become aligned again.
However, it can be very confusing if you do not scroll in the other direction, but move the cursor to a certain location and copy the line to the other side using the copy button. Note that sometimes synchronization is off more then one line, see my screen shot where it is two. Then, copying a line to the other side would copy the line to a line which is visually two lines lower/higher.
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I can still not reproduce the bug - see:

http://madsenworld.dk/tcmd/cbc.sqx
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

A clear XP bug IMO. I've seen it in other occasions too.

It seems that dragging the scrollbar with the mouse doesn't scroll til the end. Clicking once on the down arrow (scrollbar's arrow) scrolls the view a little bit more. Clicking once again - the view is de-synchronized.
TC for Linux please!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I found a workaround by setting the top index back to that of the other window when scrolling. Not beautiful, but at least it works.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3501
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Confirm fixed in 7.01.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
Post Reply