Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compute totals OFF: wrong count of file processed in copy dialog #2668

Closed
mc-butler opened this issue Nov 7, 2011 · 4 comments
Closed

Compute totals OFF: wrong count of file processed in copy dialog #2668

mc-butler opened this issue Nov 7, 2011 · 4 comments
Labels
area: core Issues not related to a specific subsystem prio: low Minor problem or easily worked around

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/2668
Reporter wwp (subscript@….fr)

The number of files processed might be wrong if the "compute totals" otion is DISabled.

Here's an example:
set right pane to a directory that contains 3 directories and a file. Select/highlight 2 directories. Those two directories must contain many files and subdirs. Copy to left pane.
Here I could see, right in the middle of copying:

Total: 0 of 0
Files processed: 23978 of 2

I think that the total numbers (0 of 0) are somehow wrong, but the most amazing ones are the number of files processed: it's growing as expected (because there are many files in subdirectories of selected directories). The "of" value is 2, and it correspond to the number of highlighted items to copy. Since the option "compute totals" is DISabled, 2 is expected there, but 23978 of 2 doesn't sound really pertinent.

The estimated time is wrong in that case, but I presume that it's just a secondary effect.

Note

Original attachments:

@mc-butler
Copy link
Author

Changed by wwp (subscript@….fr) on Nov 7, 2011 at 14:21 UTC

screenshot

@mc-butler
Copy link
Author

Changed by wwp (subscript@….fr) on Nov 7, 2011 at 14:21 UTC (comment 1)

GNU Midnight Commander 4.8.0
Built with GLib 2.22.5
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish, smbfs
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

@mc-butler
Copy link
Author

Changed by wwp (subscript@….fr) on Nov 7, 2011 at 14:29 UTC (comment 2)

BTW, the "Total: 0 of 0" issue is already known as ticket #2503, IIUC.

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Nov 7, 2011 at 15:50 UTC (comment 3)

  • Resolution set to duplicate
  • Status changed from new to closed
  • Version changed from 4.8.0 to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: core Issues not related to a specific subsystem prio: low Minor problem or easily worked around
Development

No branches or pull requests

1 participant