Bug 436763

Summary: Size of symlinked files should not be reported in progress bar for a copy operation
Product: [Frameworks and Libraries] frameworks-kio Reporter: Dmitry Osipenko <digetx>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: minor CC: bugseforuns, kdelibs-bugs-null, kfm-devel, sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dmitry Osipenko 2021-05-08 11:11:12 UTC
During of a file copy operation there is a popup progress bar being displayed. It reports a wrong overall size of the copy operation if copied files are symlinks. This happens because it takes into account the size of the symlinked files, which shouldn't happen.


STEPS TO REPRODUCE
1. Create a folder with a symlinks to a large files
2. Copy this folder
3. Witness wrong size and wrong estimation time in the progress bar

OBSERVED RESULT

The progress bar displays size of a symlinked files that are being copied and reports estimation time based on this size.


EXPECTED RESULT

The size of a copied symlinks should not be taken into account.
Comment 1 Harald Sitter 2021-05-11 14:08:04 UTC
Moving to KIO. Progress reporting and calculation happens exclusively there AFAIK.