Bug 455176

Summary: Additionally show actual size for sparse files
Product: [Applications] dolphin Reporter: soredake <katyaberezyaka>
Component: panels: informationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 22.04.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: how windows deals with displaying sparse file size
apparent size in dolphin vs actual size in terminal with du -sh

Description soredake 2022-06-12 07:40:05 UTC
Created attachment 149636 [details]
how windows deals with displaying sparse file size

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
It would be nice if dolphin can show 'actual size' for sparse files, like in "windows explorer" on windows.

STEPS TO REPRODUCE
1. Create sparse file.
2. Check it's size.
3. Oh no, big file!

OBSERVED RESULT
Dolphin can't show sparse file actual size.

EXPECTED RESULT
Dolphin will show sparse file actual size.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora KDE 36
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 soredake 2022-06-12 07:40:40 UTC
Created attachment 149637 [details]
apparent size in dolphin vs actual size in terminal with du -sh