[dolphin] [Bug 457635] New: Properties of directory probably shows incorrect count (number) of files within that folder and sub-folders

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Aug 8 18:06:26 BST 2022


https://bugs.kde.org/show_bug.cgi?id=457635

            Bug ID: 457635
           Summary: Properties of directory probably shows incorrect count
                    (number) of files within that folder and sub-folders
           Product: dolphin
           Version: 22.04.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: andrewwise3904 at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

SUMMARY
Number of files within folder (directory) and sub-folders(sub-directory) are
probably incorrect

STEPS TO REPRODUCE
1. right-click on the directory/folder
2. left-click on 'properties'

OBSERVED RESULT
I rsync copied a folder called 'apps' from my /home partition to another
partition on another disk. That partition path is /media/data/storage/

when I get the properties of the apps folder in /media/data/storage, under
'Size' there is a count of how many files there are in that folder and
sub-folder's and the number of sub-folders. I can see a count of 25,363 files,
16,555 sub-folders. When i check the 'apps' folder in my /home/username
directory. The count of files is:

24,902 files, 16,555 sub-folders

In terminal, while in the /home/username/apps directory, if I do:

find . -type f | wc -l

the output is: 

24523

In terminal, while in the /media/data/storage/apps directory, if I do:

find . -type f | wc -l

the output is:

24523

p.s. clicking 'refresh' (as suggested with this bug:
https://bugs.kde.org/show_bug.cgi?id=238424) for folder /home/k/apps does not
change the number of files. it remains: 24,902. Same for
/media/data/storage/apps, hitting refresh does not change the file count. It
remains: 25363.

EXPECTED RESULT
The number (amount) of files should match. I checked using Thunar file manager
which report the number of items (the number of files + sub-directories) and
the result is the same for both locations. i.e. 41919.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list