[dolphin] [Bug 509150] New: Dolphin Size column counts two extra items for directories with >=200 entries

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Sep 5 14:23:34 BST 2025


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

            Bug ID: 509150
           Summary: Dolphin Size column counts two extra items for
                    directories with >=200 entries
    Classification: Applications
           Product: dolphin
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: leouscin at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

Dolphin's "Size" column counts two extra items when a directory has 200 or more
entries. The Information panel shows the correct number of items.

Steps to reproduce:
1. Create a directory with 199 empty files (for example using `mkdir -p
~/tmp/repro_199 && seq -w 199 | xargs -I{} touch ~/tmp/repro_199/f_{}`).
2. Create another directory with 200 empty files (`mkdir -p ~/tmp/repro_200 &&
seq -w 200 | xargs -I{} touch ~/tmp/repro_200/f_{}`).
3. Open the parent directory containing these folders in Dolphin and switch to
Details view so the Size column shows the number of items.
4. Note that `repro_199` shows 199 items in both the Size column and the
Information panel.
5. Note that `repro_200` shows 202 items in the Size column but 200 items in
the Information panel. Similarly, a directory with 331 files shows 333 items in
the Size column and 331 in the Information panel.

Expected behaviour:
The Size column should report the actual number of items, consistent with the
Information panel and `find -maxdepth 1` output.

Additional information:
- OS: Arch Linux (Plasma 6) as of September 2025.
- Dolphin version: current Arch package.
- The bug is not related to hidden files or the '.'/ '..' entries, since it
occurs with plain directories containing only regular files.
- The threshold appears to be exactly 200 entries; directories with fewer than
200 files are counted correctly.

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


More information about the kfm-devel mailing list