Bug 437369

Summary: Dolphin takes into account the contents of the location a link points to when calculating the size of the contents of folders
Product: [Applications] dolphin Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kfm-devel, nate
Priority: NOR    
Version: 21.11.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screenshot
screenshot taken on Arch linux
screenshot taken on Arch Linux

Description Patrick Silva 2021-05-19 16:31:19 UTC
Created attachment 138570 [details]
screenshot

STEPS TO REPRODUCE
1. set details view mode to display size of contents
2. set details view mode and go to your Home
3. observe size of contents on Desktop in Size column and Properties window

OBSERVED RESULT
different sizes of contents in Size column and Properties window.
Please see the attached screenshot.

EXPECTED RESULT
Size column should display correct size of contents on desktop

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.22.80
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 1 Nate Graham 2021-05-19 18:24:48 UTC
Works for me FWIW.
Comment 2 Patrick Silva 2021-07-02 16:58:27 UTC
Created attachment 139808 [details]
screenshot taken on Arch linux

Same thing on Arch Linux.

Operating System: Arch Linux
KDE Plasma Version: 5.22.2
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 3 Patrick Silva 2021-07-02 17:02:14 UTC
Created attachment 139809 [details]
screenshot taken on Arch Linux
Comment 4 Patrick Silva 2021-12-04 13:40:12 UTC
Finally I found the culprit: a link to my Home on desktop.

1. open Dolphin
2. drag Home from Places panel and drop it on desktop
3. choose 'Link here' from the context menu
4. go to Home in Dolphin
5. set details view mode to display size of contents in Dolphin settings
6. set details view mode
7. observe the size of contents on Desktop in Size column and Properties window
Comment 5 Patrick Silva 2021-12-04 13:53:46 UTC
Dolphin takes into account the contents of the location a link points to when calculating the size of the contents of folders.
I added a link to another partition to my Home and now Dolphin says the size of contents in my Home is 552 GiB. lol
I'm not sure if this is intentional or not, but it looks confusing to me.
Comment 6 Nate Graham 2021-12-04 14:55:30 UTC
Thanks, can confirm.
Comment 7 Patrick Silva 2023-05-10 17:34:33 UTC
Cannot reproduce with Dolphin 23.04.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Graphics Platform: Wayland