Negative files/bytes count in progress window

English support forum

Moderators: white, Hacker, petermad, Stefan2

PascalT
Junior Member
Junior Member
Posts: 26
Joined: 2015-08-27, 08:00 UTC

Copy an move : Counters turn negative

Post by *PascalT »

Hello,

Total commander 10.51 Windows XP 32 bits.
From time to time the counters for the number of files and size of files in the copy or move window turn negative. To be more precise, they start negative and then are increasing, as if they had not been reset to zero where it should have been.
It's been a long time I've been noticing this problem but so far I couldn't find a way to reproduce it at will
It's often when I make a lot of copy/move with sometimes a mix between the background transfer manager and normal copy/move, and sometimes with canceling due to some files already existing, and then restarting.
Once the problem has shown, it remains until I restart Total Commander.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48145
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Copy an move : Counters turn negative

Post by *ghisler(Author) »

This is not a bug! It means the REMAINING size to be copied. Just click on it to switch back to already copied bytes.
Author of Total Commander
https://www.ghisler.com
PascalT
Junior Member
Junior Member
Posts: 26
Joined: 2015-08-27, 08:00 UTC

Re: Copy an move : Counters turn negative

Post by *PascalT »

Sorry ! I had not spotted it in the doc.
Maybe I found it confusing because this mode sometimes switches on without any indication.
Loren Pechtel
Junior Member
Junior Member
Posts: 86
Joined: 2004-05-02, 01:50 UTC

Why file and byte copied counters are currently negative ?

Post by *Loren Pechtel »

Got a minor bug, looks like some too-small variables

I'm doing a 10TB copy. Both the file and byte copied counters are currently negative.

I think the files copied is a 16-bit word wrapping around, is the bytes perhaps a 32-bit KB copied wrapping around?





Subject adjusted by moderator to reflect the real content of this posting. Please take care yourself next time, thank you.
This way others can tell if they want to open and read this thread or not,
and also can find the answer too, once they are searching the forum before posting for an already given solution.
User avatar
Stefan2
Power Member
Power Member
Posts: 4172
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Got a minor bug, looks like some too-small variables

Post by *Stefan2 »

GOOGLE: copied counters are currently negative site:ghisler.ch

> viewtopic.php?t=47281
> viewtopic.php?t=77802


That ?



 
al20878
Junior Member
Junior Member
Posts: 25
Joined: 2018-07-31, 13:32 UTC

Negative numbers in progress after paused "Copy"

Post by *al20878 »

I was copying a lot of files (from the "Synchronize Dirs..." action), and when the process was about in the middle, I pressed "Pause", then (after some time) resumed the operation. The numbers in the copy progress popup went berserk, they became negative! They were counting up, towards zero, and the copy stopped when the counts reached 0.

?? Tried to insert a pic here, failed. Tried to insert a link to Google drive to the pic, failed, the same:

Your message contains the following unsupported characters:
\Q\Q
\Q\Q
al20878
Junior Member
Junior Member
Posts: 25
Joined: 2018-07-31, 13:32 UTC

Re: Negative numbers in progress after paused "Copy"

Post by *al20878 »

Here is the link:

IDK why this forum rejects it with the double capital Q complained as "unsupported character".. If you want to take a look, remove the two backslashes from in front of the Qs:

https://drive.google.com/file/d/1siHfR74cM0Op\Q\QGZ5OLUlC9x8l7s9si_/view?usp=drive_link
User avatar
white
Power Member
Power Member
Posts: 4640
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Negative numbers in progress after paused "Copy"

Post by *white »

al20878 wrote: 2023-10-12, 01:16 UTC IDK why this forum rejects it with the double capital Q complained as "unsupported character".. If you want to take a look, remove the two backslashes from in front of the Qs:
It's to combat Chinese spam messages, double q is a Chinese instant messenger similar to WhatsApp.
Perhaps Mr. Ghisler can reconsider if this measure is still necessary.
User avatar
white
Power Member
Power Member
Posts: 4640
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Negative numbers in progress after paused "Copy"

Post by *white »

[Help - F5: Copy] wrote: Copy progress dialog box

The copy progress dialog shows, if available, the number of copied and total number of files, and the number of copied and total number of bytes. By clicking on these numbers, this can be switched to the remaining number of files/bytes (shown with a minus sign).
Perhaps you clicked the number?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48145
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Negative numbers in progress after paused "Copy"

Post by *ghisler(Author) »

Please confirm that this isn't a bug, as "white" describes.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13079
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Negative numbers in progress after paused "Copy"

Post by *Hacker »

al20878,
When you click the number, the display changes to showing "remaining" files and data, signified by a minus sign.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Hacker
Moderator
Moderator
Posts: 13079
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Negative numbers in progress after paused "Copy"

Post by *Hacker »

Moderator message from: Hacker

Moved to the English forum.
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
al20878
Junior Member
Junior Member
Posts: 25
Joined: 2018-07-31, 13:32 UTC

Re: Negative numbers in progress after paused "Copy"

Post by *al20878 »

> Perhaps you clicked the number?

"THE" number? What number that would be?
al20878
Junior Member
Junior Member
Posts: 25
Joined: 2018-07-31, 13:32 UTC

Re: Negative numbers in progress after paused "Copy"

Post by *al20878 »

> double q is a Chinese instant messenger

When double Q appears in the middle of a link, how THAT would be dangerous?
User avatar
white
Power Member
Power Member
Posts: 4640
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Negative numbers in progress after paused "Copy"

Post by *white »

white wrote: 2023-10-12, 07:33 UTC
[Help - F5: Copy] wrote: Copy progress dialog box

The copy progress dialog shows, if available, the number of copied and total number of files, and the number of copied and total number of bytes. By clicking on these numbers, this can be switched to the remaining number of files/bytes (shown with a minus sign).
Perhaps you clicked the number?
al20878 wrote: 2023-10-12, 13:37 UTC "THE" number? What number that would be?
One of the explained numbers.
Post Reply