Ticket #2668 (closed defect: duplicate)

Opened 13 years ago

Last modified 13 years ago

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

Reported by: wwp Owned by:
Priority: minor Milestone:
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

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.

Attachments

mc-4.8.0-copying-wrong-files-processed-number.png (21.0 KB) - added by wwp 13 years ago.
screenshot

Change History

Changed 13 years ago by wwp

screenshot

comment:1 Changed 13 years ago by wwp

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;

comment:2 Changed 13 years ago by wwp

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

comment:3 Changed 13 years ago by andrew_b

  • Status changed from new to closed
  • Version changed from 4.8.0 to master
  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.