Bug 461659 - Kate sessions plugin replaces session of existing kate window instead of starting a new one
Summary: Kate sessions plugin replaces session of existing kate window instead of star...
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: sessions (other bugs)
Version First Reported In: 22.08.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-10 11:02 UTC by Diggory Hardy
Modified: 2022-11-12 22:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 22.12
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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