Bug 461659

Summary: Kate sessions plugin replaces session of existing kate window instead of starting a new one
Product: [Applications] kate Reporter: Diggory Hardy <kde2>
Component: sessionsAssignee: Alexander Lohnau <alexander.lohnau>
Status: RESOLVED FIXED    
Severity: normal CC: alexander.lohnau, nate
Priority: NOR    
Version First Reported In: 22.08.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 22.12
Sentry Crash Report:

Description Diggory Hardy 2022-11-10 11:02:56 UTC
SUMMARY

1. In Kate, save two different sessions, lets say Foo and Bar.
2. Close all Kate windows.
3. In the launcher / krunner, search Foo to open the first named Kate session.
4. With this session still open, do the same again for the second named session, Bar.

Result: the existing window containing the first session is replaced with the second session.
(If I wanted to do this I would do so through the window's menus.)

Expected (and old behaviour): launches a new Kate window with the second session.

SOFTWARE/OS VERSIONS
Fedora 37 beta, Wayland.
Comment 1 Bug Janitor Service 2022-11-10 11:33:30 UTC
Thank you for the bug report!

Please note that Plasma 5.25.2 is not supported for much longer by KDE; supported versions are 5.24, and 5.26 or newer.

If at all possible please upgrade to a supported version and verify that the bug is still happening there.

If you're unsure how to do this, contact your distributor about it.
Comment 2 Nate Graham 2022-11-10 16:59:08 UTC
Cannot reproduce with git master everything, also on Fedora 36. When I do this, the second session opens in a new window. It must have been fixed in later versions of KRunner and/or Kate.
Comment 3 Alexander Lohnau 2022-11-12 06:48:28 UTC
This was fixed by https://invent.kde.org/utilities/kate/-/commit/ec25d9f636b993bc2da91c3d20dfe632c72a21a7 already