Bug 422642

Summary: Overwriting folder dialog states wrong sizes for folders
Product: [Frameworks and Libraries] frameworks-kio Reporter: Yash Tiwari <yasht>
Component: Overwrite dialogAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 5.70.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Yash Tiwari 2020-06-08 16:44:00 UTC
SUMMARY
In case of a name conflict between a pasted folder and a folder in a directory, the overwriting folder dialog appears. But the sizes stated in the dialog for both the folders are in bytes, which is unexpected to say the least. This problem doesn't arise when an empty folder is being overwritten by an empty one. 

STEPS TO REPRODUCE
1. Try to overwrite any folder with another, as long as one of them is non-empty


OBSERVED RESULT
Wrong size of folder and its contents is stated.

EXPECTED RESULT
Correct size of folder and its contents is stated

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION