Bug 343305 - Dolphin folder properties shows incorrect/inaccurate/inconsistent total size of folder
Summary: Dolphin folder properties shows incorrect/inaccurate/inconsistent total size ...
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 4.14.1
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL: http://youtu.be/DVDUJ6osbzs
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-26 04:52 UTC by Hendy Irawan
Modified: 2018-10-14 22:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hendy Irawan 2015-01-26 04:52:43 UTC
See YouTube video at http://youtu.be/DVDUJ6osbzs for demonstration.

Note that the folder is never changed during the whole process.

The accurate size is given properly by `du` :

ceefour@hendy:/media/ceefour/passport/project_passport/lumen/import5_neo4j > du -ch graph.db
12K     graph.db/index
152M    graph.db/schema/index/lucene/1
144M    graph.db/schema/index/lucene/3
144M    graph.db/schema/index/lucene/4
283M    graph.db/schema/index/lucene/5
721M    graph.db/schema/index/lucene
721M    graph.db/schema/index
18M     graph.db/schema/label/lucene
18M     graph.db/schema/label
739M    graph.db/schema
6,6G    graph.db
6,6G    total


Reproducible: Always

Steps to Reproduce:
1. Go to a folder with over 6 GiB in size, I've checked this happen on NTFS USB portable drive, and also ext4 SSD drive, both over 6 GiB in size. (Note: I don't know what's the exact criteria to trigger this bug, this is only my best guess)
2. Alt+Enter (or right-click, Properties)
3. Click Refresh on the size

Actual Results:  
different results on every Refresh, and most of them incorrect

Expected Results:  
consistent, accurate result
Comment 1 Nate Graham 2018-04-24 22:05:37 UTC
Works for me in KDE Frameworks 5.45.
Comment 2 Sasa Dermanovic 2018-10-13 23:50:14 UTC
Framework 5.50 / Plasma 5.14
Can reporduce.

More info is shown on https://imgur.com/a/yQqLwOk
Comment 3 Nate Graham 2018-10-14 22:24:59 UTC
Sasa, What's going in your screenshots is that Dolphin's status bar is calculating the size only of the files themselves, and is not including the directory. This is tracked with Bug 158090.