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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/84ce182
                   |                            |12cd820087e613f1ee6136faf6b
                   |                            |68a32a
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Méven <[email protected]> ---
Git commit 84ce18212cd820087e613f1ee6136faf6b68a32a by Méven Car, on behalf of
Ramil Nurmanov.
Committed on 18/07/2026 at 11:15.
Pushed by meven into branch 'master'.

Allow collapsing and expanding groups in "Show in Groups" mode

## Summary

When "Show in Groups" is enabled, items are split into group headers based on
the current grouping criterion (e.g. by Type). Until now these groups were
always fully expanded with no way to fold them.

This MR adds the ability to collapse and expand individual groups by clicking
on the group header (or its disclosure arrow). A collapsed group shows only its
header and hides the items beneath it. The expanded/collapsed state is kept per
view while navigating.

This brings Dolphin's grouped views closer to the behavior users expect from
Windows Explorer and macOS Finder.

![10.mp4](/uploads/5d0eb761c4b5e5be2e4e7523dcbb04a0/10.mp4)

M  +2    -2    src/kitemviews/kitemlistcontroller.cpp
M  +22   -0    src/kitemviews/kitemlistgroupheader.cpp
M  +6    -0    src/kitemviews/kitemlistgroupheader.h
M  +118  -75   src/kitemviews/kitemlistview.cpp
M  +21   -20   src/kitemviews/kitemlistview.h
M  +35   -3    src/kitemviews/kstandarditemlistgroupheader.cpp
M  +1    -0    src/kitemviews/kstandarditemlistgroupheader.h
M  +108  -41   src/kitemviews/private/kitemlistviewlayouter.cpp
M  +12   -0    src/kitemviews/private/kitemlistviewlayouter.h
M  +86   -0    src/tests/kitemlistcontrollertest.cpp

https://invent.kde.org/system/dolphin/-/commit/84ce18212cd820087e613f1ee6136faf6b68a32a

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

Reply via email to