Bug 353391 - wrong calculated size of direcories
Summary: wrong calculated size of direcories
Status: RESOLVED DUPLICATE of bug 298133
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: usability
: 364249 428142 429781 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-01 06:43 UTC by Bozhan Boyadzhiev
Modified: 2021-01-18 16:29 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
calculated size is bigger than file system size (136.13 KB, image/jpeg)
2015-10-01 06:44 UTC, Bozhan Boyadzhiev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bozhan Boyadzhiev 2015-10-01 06:43:28 UTC
When i select some directories, click with right button of mouse and select properties new windows appear and start to calculate size. At some time calculated size exceed actual size of the filesystem which is shown below .

Reproducible: Always

Steps to Reproduce:
1.start dolphin, go to root , select some folders(without /home in my tries)
2. right click with mouse, select properties
3. wait for dialog to calculate size

Actual Results:  
calculate size bigger than file system size

Expected Results:  
must calculate smaller than file system size
Comment 1 Bozhan Boyadzhiev 2015-10-01 06:44:30 UTC
Created attachment 94789 [details]
calculated size is bigger than file system size
Comment 2 Emmanuel Pescosta 2015-10-01 06:58:40 UTC
Thanks for the bug report, I can reproduce the problem here.

/proc has 128 TiB ;)

I'll reassign it to KIO, because all the code for the size calculation is there.
Comment 3 Bozhan Boyadzhiev 2015-10-02 05:43:45 UTC
du /proc 

0       /proc/
Comment 4 Chinmoy Ranjan Pradhan 2016-11-30 06:04:39 UTC
*** Bug 364249 has been marked as a duplicate of this bug. ***
Comment 5 Elvis Angelaccio 2020-10-23 18:19:05 UTC
*** Bug 428142 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2020-12-01 17:16:36 UTC
*** Bug 429781 has been marked as a duplicate of this bug. ***
Comment 7 Claudius Ellsel 2020-12-01 19:19:15 UTC
Looks a bit like 128 TiB is used as starting value when the size is calculated.
Comment 8 Aurélien Oudelet (auroud85_fr) 2021-01-18 16:17:39 UTC
Duplicate, really.
Annoying.

*** This bug has been marked as a duplicate of bug 423057 ***
Comment 9 Claudius Ellsel 2021-01-18 16:22:18 UTC
Hm, usually I'd expect the oldest bug to be the original one (in this case it seems https://bugs.kde.org/show_bug.cgi?id=298133 is the one) and then all newer bugs to be marked as duplicates of that one. Is there a reason not to handle it this way here?
Comment 10 Aurélien Oudelet (auroud85_fr) 2021-01-18 16:26:35 UTC
(In reply to Claudius Ellsel from comment #9)
> Hm, usually I'd expect the oldest bug to be the original one (in this case
> it seems https://bugs.kde.org/show_bug.cgi?id=298133 is the one) and then
> all newer bugs to be marked as duplicates of that one. Is there a reason not
> to handle it this way here?
Right.

*** This bug has been marked as a duplicate of bug 298133 ***
Comment 11 Claudius Ellsel 2021-01-18 16:29:39 UTC
Thanks btw. for finding the duplicates and triaging them!