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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/5f483dd
                   |                            |b21aad4dd3bac3ce96afed6c2b5
                   |                            |ac2797

--- Comment #2 from Méven <[email protected]> ---
Git commit 5f483ddb21aad4dd3bac3ce96afed6c2b5ac2797 by Méven Car.
Committed on 03/11/2026 at 18:52.
Pushed by meven into branch 'master'.

kfileitemmodelrolesupdater: count hidden items when they are shown

With "Show number of items", the count of a folder never included its
hidden items, even with "Show hidden files" on.

The counting ListJob passes its own list flags. ExcludeHidden is 0, and
only IncludeHidden adds the hidden entries. The flags never set
IncludeHidden, so the count always left the hidden items out.

The flags now set IncludeHidden when the view shows hidden files.

This was a regression from 914cd9010b52125a01e607c0b0f08401be225106

M  +4    -3    src/kitemviews/kfileitemmodelrolesupdater.cpp
M  +44   -0    src/tests/kfileitemmodelrolesupdatertest.cpp

https://invent.kde.org/system/dolphin/-/commit/5f483ddb21aad4dd3bac3ce96afed6c2b5ac2797

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to