SUMMARY Currently open project (ie. git repo location) is not remembered in the session when all files have been closed and Kate has been closed. I'd like to use the session plugin with one session per project. After the last file is closed, the "Project" tab still displays the current project files and I can open another file to edit. However when no files are open and Kate is closed, the session doesn't store current project location and upon next startup and session restoration I need to switch to the "File browser" tab to select a file. When working with projects one usually shouldn't need to use both "Project" and "File browser" tabs since they're mostly redundant. STEPS TO REPRODUCE 1. Open a a file in a project (git repo or whatever). 2. Enable "Project" tab, disable "File browser" tab. 3. Close the file. 4. "Project" tab is still open and allows to select another file. 5. Close Kate. OBSERVED RESULT Upon next startup: 1. No file is open (obviously). 2. The "Project" tab is collapsed, no project is selected. EXPECTED RESULT Upon next startup: 1. No file is open (obviously). 2. The "Project" tab is open (since it was open when Kate closed), the last project is selected. SOFTWARE/OS VERSIONS Kate Version: 21.12.3 KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3
this is fixed for 22.04
Thanks :)