Bug 466316

Summary: Sidebar section arrangement forgotten when switching sessions
Product: [Applications] kate Reporter: Grósz Dániel <groszdanielpub>
Component: sessionsAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: 22.12.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Grósz Dániel 2023-02-23 18:18:06 UTC
SUMMARY
A recent Kate release changed how one can open multiple sidebars on the same side of the window: in the context menu of a sidebar tab, one can click (Move To) Own Section; one can then move some other sidebars into the new section, and one can open one sidebar from each section. These arrangements are properly saved into sessions when quitting and reopening Kate. However, if I switch between sessions using the Sessions menu, these arrangements are forgotten.

STEPS TO REPRODUCE
1. Have multiple sessions, and open one.
2. Right-click a sidebar tab (icon/label), and click Own Section, and (optionally) open a sidebar in each section.
3. Switch to a different session using the Sessions menu (using Recent Sessions, All Sessions or Manage Sessions...). 
4. Switch back to the previously used session (in which you created sidebar sections) using the Sessions menu.

OBSERVED RESULT
The sidebars on a given side of the window are in a single section again, and only one is open.

EXPECTED RESULT
The sidebars (how they are arranged into sections and which ones are open) are as they were when the session was last used.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230222
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.8-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
The workaround, of course, is to avoid switching sessions using the Sessions menu; just quit Kate if you don't need the current session to be open any more, and start it again with the desired session.
Comment 1 Christoph Cullmann 2024-10-20 19:05:38 UTC
Works for me with 23.08.