| Summary: | Dolphin incorrectly calculates the total size of the files under / (the filesystem root directory) | ||
|---|---|---|---|
| Product: | [Applications] dolphin | Reporter: | kde.curly785 | 
| Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> | 
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | CC: | bugrprt21882, bugseforuns, dolphin-bugs-null, john.kizer, meven29, zejdzztegomaila | 
| Priority: | NOR | ||
| Version First Reported In: | 24.05.1 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | A screenshot of dolphin incorrectly reporting the size of files in the root folder. | ||
| 
 
        
          Description
        
        
          kde.curly785
        
        
        
        
          2024-12-03 20:46:46 UTC
        
       
    I can reproduce a version of this on my system - the size calculated for / is many times higher than the actual space taken, although it's not 1,024 times higher - in fact, it's close to the size reported in your screenshot (mine was 129.4 TiB), despite my mounted filesystems having a total of 1.6 TiB of space used. Keep in mind the free space chart at the bottom of that window is only going to be for the filesystem on which / is mounted, while if you have multiple filesystems mounted, there will be more files and more size occupied by the total contents of files under / - for example, I have /mnt/usbdrivename, which is its own filesystem, but files on it would presumably be totaled up if everything under / were being added. Perhaps it's more confusing than anything to even allow calculating a total size for / ? (By the way, if this issue was experienced in December 2024, you may need to check your Arch repository setup - 24.08.3 was the latest Dolphin version in the Arch repositories as of the time this bug was filed, and your system info indicates your kernel/Plasma/other packages are significantly outdated as well) (In reply to John Kizer from comment #1) > I can reproduce a version of this on my system - the size calculated for / > is many times higher than the actual space taken, although it's not 1,024 > times higher - in fact, it's close to the size reported in your screenshot > (mine was 129.4 TiB), despite my mounted filesystems having a total of 1.6 > TiB of space used. > > Keep in mind the free space chart at the bottom of that window is only going > to be for the filesystem on which / is mounted, while if you have multiple > filesystems mounted, there will be more files and more size occupied by the > total contents of files under / - for example, I have /mnt/usbdrivename, > which is its own filesystem, but files on it would presumably be totaled up > if everything under / were being added. Perhaps it's more confusing than > anything to even allow calculating a total size for / ? > > (By the way, if this issue was experienced in December 2024, you may need to > check your Arch repository setup - 24.08.3 was the latest Dolphin version in > the Arch repositories as of the time this bug was filed, and your system > info indicates your kernel/Plasma/other packages are significantly outdated > as well) I did notice that the dolphin version was behind the latest on the github, but at the time it was the latest in the available repositories for endeavourOS Same on this KDE Plasma 5 system: Operating System: openSUSE Leap 15.6 KDE Plasma Version: 5.27.11 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.12 Kernel Version: 6.4.0-150600.23.30-default (64-bit) Dolphin Version 23.08.5 --- When Dolphin calculates the usage of the system root partition device - the device partition mounted as “/” - it calculates everything to be found below the root directory instead of, only those files and directories in the device partition mounted as “/”. The “Free Space” indicator correctly shows the size and usage of the device partition mounted as “/”. This size computing is done in KIO by FileSystemFreeSpaceJob and implemented by DirectorySizeJob that is meant to compute directory size but not root filesystem. It would either need to be special cased as in particular /proc should be skipped. Or Not used when 'file:///' is being requested. Still a bug on Dolphin 25.08.0 kinfo log here: Operating System: KDE neon Testing Edition KDE Plasma Version: 6.4.4 KDE Frameworks Version: 6.18.0 Qt Version: 6.9.1 Kernel Version: 6.14.0-29-generic (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-5300U CPU @ 2.30GHz Memory: 8 GiB of RAM (7.7 GiB usable) Graphics Processor: Intel® HD Graphics 5500 *** Bug 509086 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 298133 ***  |