Bug 513998

Summary: Inconsistency in file count between browser and properties.
Product: [Applications] dolphin Reporter: Tylerebowers <tylerebowers>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: 25.12.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot showing difference.

Description Tylerebowers 2025-12-31 02:25:49 UTC
Created attachment 188101 [details]
Screenshot showing difference.

SUMMARY
Browser shows 3,002 files, properties of the same folder shows 3,000. 

STEPS TO REPRODUCE
1. Create folder
2. Copy a large number of files (>=200) into folder.

Seems to be that if there are >=200 files the issue appears. At 199 the count is 199, at 200 the count is 202.

OBSERVED RESULT
Counts do not match.

EXPECTED RESULT
Counts should match.

SOFTWARE/OS VERSIONS
OpenSUSE TW Version: 20251229
KDE Plasma Version: 6.5.4
KDE Frameworks Version:  6.21.0
Qt Version: 6.10.1
Dolphin 25.12.0 
Using Wayland

ADDITIONAL INFORMATION
* For n >= 200, count in browser "size" column is n+2, count in properties of folder is n
* In folder: `ls -1 | wc -l` -> 3000
*No hidden files.
* Could be due to including . and .. in the sum? (e.g. `ls -a` would have these)
* Tried creating new folder and copy/pasting all contents into it, result is the same.
* This issue appears in other folders on my system where there are more than 200 files.
* Not sure show the number of folders affects the count.
Comment 1 Tylerebowers 2025-12-31 02:47:46 UTC
https://bugs.kde.org/show_bug.cgi?id=509150

*** This bug has been marked as a duplicate of bug 509150 ***