Steps to reproduce: - open some number of documents under complex folders structure (not all in one directory) - open Documents Tool View and manually expand some folders in tree view there - switch to Filter field in this Tool View and search for some opened document - clear that Filter field Observed result: all the previously expanded folders collapse. You need to expand them again or use Filter every time to access nested documents. Expected result: all the previously expanded folders stay same (expanded). Software versions: Kate: 24.12.0 KDE Frameworks: 6.9.0 Qt: Using 6.8.1 and built against 6.8.1 Fedora Linux 41 (Workstation Edition) (Xcb) Build ABI: x86_64-little_endian-lp64 Kernel: linux 6.12.5-200.fc41.x86_64