Bug 414406

Summary: displays way too high number of files in directory
Product: [Applications] filelight Reporter: Steffen Michalek <steffen>
Component: generalAssignee: Martin Sandsmark <martin.sandsmark>
Status: RESOLVED WORKSFORME    
Severity: normal CC: justin.zobel
Priority: NOR    
Version First Reported In: 19.08.1   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot: wrong number of files displayed by filelight

Description Steffen Michalek 2019-11-22 21:25:54 UTC
Created attachment 124066 [details]
screenshot: wrong number of files displayed by filelight

SUMMARY
For various directories, filelight claim, that there are massive numbers of plain files.
See e.g. my home directory in the screenshot: 40.501 Files, together 4.4 G
(whereas a simple "ls -al | wc" gives 209, including directories).

Perhaps, the reason is a certain confusion with symlinks/hardlinks.

STEPS TO REPRODUCE
1. Start filelight, choose home directory via menue "Open".
2. Mouse hover the non-directory part of the inner ring displayed by filelight
3. check with Unix "ls"

OBSERVED RESULT
Way too many files counted by filelight.

EXPECTED RESULT
Filelight counts in the way Unix itself does.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 19.10, kernel 5.3.0-23-generic
(available in About System)
KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.64.0
Qt Version: 5.12.4

ADDITIONAL INFORMATION
Comment 1 Justin Zobel 2020-11-12 23:54:17 UTC
Filelight counts all folders as files as in the filesystem they're all just files.

ls doesn't show the count of items in subfolders.

Try `find ~/somepath | wc -l`
Comment 2 Bug Janitor Service 2020-11-27 04:34:06 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2020-12-12 04:34:17 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!