Bug 480456

Summary: Document tree doesn't remember all open/close states
Product: [Applications] kate Reporter: Karsten Düsterloh <mnyromyr>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: christoph, travneff
Priority: NOR    
Version First Reported In: 23.08.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Karsten Düsterloh 2024-01-28 19:53:38 UTC
Working with the document tree (left hand sidebar) on a large code base, I keep some tree branches currently worked on as opened while others currenty unimportant closed.

Closing kate and restarting it (eg tomorrow), only the last file edited and its tree branch is open.
But I'd expect all branches' open state to persist.

STEPS TO REPRODUCE
1. activate document sidebar and open several files in distinctive directories
2. open several of files by using the tree view, thus having all their path branches shown
3. close kate (^Q)
4. start kate

OBSERVED RESULT
5. all document branches are closed except for the last shown file


EXPECTED RESULT
6. all branches' open state should persist

SOFTWARE/OS VERSIONS
Lubuntu 23.10

ADDITIONAL INFORMATION