| Summary: | The Kate session runner reuses the current Kate instance | ||
|---|---|---|---|
| Product: | [Plasma] krunner | Reporter: | Louis Moureaux <m_louis30> |
| Component: | general | Assignee: | Alexander Lohnau <alexander.lohnau> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | alexander.lohnau, eric1 |
| Priority: | NOR | ||
| Version First Reported In: | 5.26.2 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/utilities/kate/commit/1a629295e3bdbf253e850e71b65b50cd2d14f7c7 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Screencast demonstrating the bug | ||
|
Description
Louis Moureaux
2022-10-30 01:38:00 UTC
I can not reproduce and don't seem to have any special setting in regard to starting new instances. I will ask the Kate devs if there are any settings that I overlooked, which might be related. I can reproduce. It does not matter whether you open the first session from session runner or in another way. Actually it does matter. When you start both sessions from the kate session desktop widget it works as expected Can you please attach a recording? Created attachment 153335 [details]
Screencast demonstrating the bug
It indeed does work as intended when you type "kate" in the KRunner search box and select one of the results. The bug appears only if you search for your session by name.
I made a recording where I have a session open ("fcweb") and I open another one ("pyciv") twice: the first time by typing "kate" in the search field, the second time by typing "pyciv". The first attempt works as expected, the second shows the bug.
Can confirm. Though that is an entirely different component than the KRunner plugin for Kate sessions ;) A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/991 Git commit ec25d9f636b993bc2da91c3d20dfe632c72a21a7 by Alexander Lohnau. Committed on 02/11/2022 at 20:05. Pushed by alex into branch 'master'. katesessionmanager: Make Actions of desktop file start new instance of Kate Otherwise, we attach to an existing instance. The runner and Applet also start a new instance. M +1 -1 apps/lib/session/katesessionmanager.cpp https://invent.kde.org/utilities/kate/commit/ec25d9f636b993bc2da91c3d20dfe632c72a21a7 Git commit 1a629295e3bdbf253e850e71b65b50cd2d14f7c7 by Alexander Lohnau. Committed on 02/11/2022 at 20:07. Pushed by alex into branch 'release/22.08'. katesessionmanager: Make Actions of desktop file start new instance of Kate Otherwise, we attach to an existing instance. The runner and Applet also start a new instance. (cherry picked from commit ec25d9f636b993bc2da91c3d20dfe632c72a21a7) M +1 -1 apps/lib/session/katesessionmanager.cpp https://invent.kde.org/utilities/kate/commit/1a629295e3bdbf253e850e71b65b50cd2d14f7c7 |