[8.0ß10] Mouse cursor jumps madly during SyncDirs comparing

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

[8.0ß10] Mouse cursor jumps madly during SyncDirs comparing

Post by *Flint »

1. Open SyncDirs for a couple of archives with many identical files. A good example are Scintilla and SciTE archives.
2. Check "by content" and "Subdirs" options.
3. While TC is comparing files, the mouse cursor very quickly changes its form and position between the following:
a) normal cursor, positioned where it was at the moment of pressing the Compare button;
b) "busy" cursor (blue circle in Win7) located at the same position;
c) normal cursor, displaced to the top-left from the original position by approx. 18x18 pixels.

Finally, when comparing finishes, the cursor is in normal form and original position, but aesthetically it's quite unpleasant…

OS: Win7, Aero theme.
Tested in TC x32, x64; internal and external SyncDirs.

<Edited>
Added information about archives needed for reproducing.
Last edited by Flint on 2011-11-25, 15:10 UTC, edited 1 time in total.
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: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Not confirmed. Do you compare a directory with an archive?
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

ghisler(Author)
Yes. Sorry, forgot to mention that. I now re-tested with normal directories, and the problem is missing. So, it should be specific to archive unpacking during comparison.

Actually, I caught this when testing the problem of slow closing, so I repeated those steps and noticed this behaviour. I'll update the first post now.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hello, Flint. Hello, Christian.

Problem reproduced when synchronizing an archive with a local disk foldertree following Flint's steps.

Windows 7 Enterprise, SP1, 32-bit
Total Commander 8.0ß10, 32-bit

Kind regards,
Karl
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I can confirm it with archives - TC shows the cursor during unpacking. I will try to find a solution.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This should actually be fixed in beta 11, please test it!
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Cannot confirm, the cursor still jumps frantically here. I can see that it now takes form "partially busy" (cursor with blue circle near it) instead of "busy" (only circle), but the position of cursor still changes to and fro around the initial position.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

I have recorded what happens on the screen with my phone (unfortunately, screen capture tools cannot catch this), you can see the difference:
WinXP
Win7

You can see that in WinXP cursor shape changes between "busy" and "partially busy" forms, but the position of the cursor itself remains stable. In Win7 cursor changes between 3 different forms ("normal", "busy", "partially busy"), but what's worst is that its position changes quickly, not only the form of the cursor.
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: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Cannot reproduce, here the cursor looks like an arrow with an attached "wait" symbol.

What exactly are you comparing?? I tried two large directories, two zip files, two rar fles, two 7z files, and it showed the stable non-moving cursor all the time!
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

ghisler(Author) wrote:What exactly are you comparing??
In the first post I gave links to the two ZIP archives I'm using for testing.
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: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Strange, I really get some flickering with your files, but not with any others! Maybe it's the size of the compared files. I will check it.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Thanks for the fix, in 8.0β12 situation is much better, though the issue is not yet fixed completely. Now I see the following:

a) If I press Compare button and do not move the mouse at all, then the cursor is stable and non-flickering, its position is not changed, everything is OK.

b) If I press Compare and start moving the mouse, I still observe cursor jumping around its real position, though not so active as was in β11.
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: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately b cannot be avoided, because Windows is changing the cursor when you move the mouse.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3506
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

ghisler(Author) wrote:Unfortunately b cannot be avoided, because Windows is changing the cursor when you move the mouse.
The cursor or its position? It's not changing the cursor shape that annoys me but the fact that cursor is jumping, changing its position randomly.

For example, in the first video given above (the one from WinXP) cursor is changing its form, but its position always remains stable (that is, hot point of the cursor is always at the same screen coordinates), so this flickering does not look very annoying.
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: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I'm not changing the position of the mouse.
Author of Total Commander
https://www.ghisler.com
Post Reply