Bug 497785

Summary: Expanded documents tree collapses after using filter in Documents Tool View
Product: [Applications] kate Reporter: Andrew <travneff>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: 24.12.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andrew 2024-12-22 13:47:41 UTC
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