Bug 414406 - displays way too high number of files in directory
Summary: displays way too high number of files in directory
Status: RESOLVED WORKSFORME
Alias: None
Product: filelight
Classification: Applications
Component: general (show other bugs)
Version: 19.08.1
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Martin Sandsmark
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-22 21:25 UTC by Steffen Michalek
Modified: 2020-12-12 04:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot: wrong number of files displayed by filelight (52.00 KB, image/png)
2019-11-22 21:25 UTC, Steffen Michalek
Details

Note You need to log in before you can comment on or make changes to this bug.
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!