Bug 222987 - kate runner reuses current kate instance
Summary: kate runner reuses current kate instance
Status: CLOSED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-16 16:17 UTC by David Palacio
Modified: 2010-05-08 21:39 UTC (History)
2 users (show)

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


Attachments
Patch to make the runner open a new kate instance again (376 bytes, patch)
2010-03-10 12:12 UTC, Matthieu Gallien
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Palacio 2010-01-16 16:17:01 UTC
Version:           3.4.59 (using 4.4.59 (KDE 4.4.59 (KDE 4.5 >= 20100107)), compiled sources)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.26-2-amd64

Bug or feature?
When Kate is running, and the Kate runner opens a session, the latter is opened in the current Kate instance instead of starting a new one. If I wanted to switch sessions, I would use Kate's session menu.
Comment 1 Andreas Pakulat 2010-01-16 20:41:12 UTC
This is not a kate issue, the runner is maintained by the plasma team.
Comment 2 Matthieu Gallien 2010-03-10 12:10:44 UTC
Do you know if the behavior of kate has recently changed ?
It seems to me that the runner has been unchanged. It used to start a new session in kde 4.3.x. It is now no longer opening a new session.
It seems to me that kate is now requiring -n option to the command line.

Does somebody could check that my attached patch to apply in kdeplasma-addons/runners/katesessions is correct ?

Thanks in advance.
Comment 3 Matthieu Gallien 2010-03-10 12:12:05 UTC
Created attachment 41503 [details]
Patch to make the runner open a new kate instance again

Patch that should apply against KDE trunk in kdeplasma-addons/runners/katesessions
Comment 4 Aaron J. Seigo 2010-03-10 22:12:05 UTC
SVN commit 1101762 by aseigo:

some cleanups and fixes: match against "kate", better priorities and spawn a new session
latter fix based on a patch by Gallien Matthieu
BUG:222987


 M  +18 -15    katesessions.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1101762
Comment 5 Matthieu Gallien 2010-03-14 19:42:07 UTC
Hello,
I would like to thank you for having take care of the bug so quickly. It is really a pleasure as a user to see such care taken especially because you not only corrected the bug but also improved the runner.

By the way, did you backport it to kde 4.4 ? I would like to ask the Debian maintainers to pick it to avoid recompiling locally on my work computer.

Best regards