Bug 432569

Summary: Size of folder with one empty folder inside is 16 EiB (16 exbibytes)
Product: [Applications] dolphin Reporter: Andrius <andrius.puksta>
Component: view-engine: details modeAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: elvis.angelaccio, kfm-devel, nate
Priority: NOR    
Version: 20.12.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 21.04
Sentry Crash Report:
Attachments: screenshot showing the bug

Description Andrius 2021-02-06 12:23:26 UTC
Created attachment 135461 [details]
screenshot showing the bug

SUMMARY
If you have an empty folder and create another empty folder inside of it, the size (in "Details" view when "size of contents" option is enabled) of the folder is shown as 16 EiB.

STEPS TO REPRODUCE
1. enable "size of contents" option in Preferences -> View modes -> Details
2. create an empty folder
3. create another empty folder inside

OBSERVED RESULT
size of first folder is shown as 16 EiB (16 exbibytes)

EXPECTED RESULT
size is 0 or close to it (I don't know how much space an empty folder takes up)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-02-06 21:41:49 UTC
Hmm, works for me. I see 0B listed as the size.
Comment 2 Andrius 2021-02-07 13:15:33 UTC
Also happens in Manjaro.
Comment 3 Elvis Angelaccio 2021-03-21 17:06:21 UTC
I can reproduce on 20.12.3 but not on 21.04.