Ticket #2668 (closed defect: duplicate)
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
Change History
Changed 13 years ago by wwp
- Attachment mc-4.8.0-copying-wrong-files-processed-number.png added
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;
screenshot