Bug 436743 - Folder sizes(by file size) stop after 121 entries in details mode
Summary: Folder sizes(by file size) stop after 121 entries in details mode
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: details mode (show other bugs)
Version: 21.04.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-07 18:35 UTC by ehrich.weiss
Modified: 2021-05-08 20:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ehrich.weiss 2021-05-07 18:35:02 UTC
SUMMARY
When opening a folder, only a certain number of the sub-folders(for me it's 121 but YMMV) will have their folder sizes calculated. This is with "size of contents" and mine is set up to 20 levels deep.


STEPS TO REPRODUCE
1. Open a folder with many subfolders in Dolphin.
2. Wait for it to stop showing folder sizes. 
3. 

OBSERVED RESULT

Not all folder sizes are shown.
EXPECTED RESULT
All folder sizes should be shown.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch/Artix
(available in About System)
KDE Plasma Version: 5.21(I think...this is a new distro for me so I'm still getting used to it)
KDE Frameworks Version: 5.21(again, I think. This was easier for me to determine when I was using Gentoo)
Qt Version: 5

ADDITIONAL INFORMATION

This also SEEMS to correlate with the high CPU usage that is reported by other users. I'm not certain of this but right after it gets to the last folder that it'll calculate, the CPU usage jumps from 5% to 100%.
Comment 1 ehrich.weiss 2021-05-07 18:45:18 UTC
I just discovered that it'll allow 278 folder sizes if Dolphin resumes with the scrollbar further down the list. Not sure why 121 and 278 but those numbers seem to be fairly consistent.
Comment 2 ehrich.weiss 2021-05-08 20:30:04 UTC
I think I found the workaround but this is still a bug. Anything more than 5 levels deep will eat all of your cpu and will fail to display folder sizes properly. If it's 5 levels or fewer it seems to work as suspected, at least for that number of levels, and I'm not showing any cpu usage
Comment 3 ehrich.weiss 2021-05-08 20:47:17 UTC
I found a workaround but this should still be considered a bug. If I select to show "folder sizes of contents" up to 5 levels deep, Dolphin seems to operate as one would expect but if I select to show 6 or more levels, it will eat all of my cpu and doesn't want to finish, even after hours.
Comment 4 ehrich.weiss 2021-05-08 20:48:37 UTC
(sorry for the second comment, I didn't see the first had posted at all)