Bug 374909 - krunner launches applications as sub-processes
Summary: krunner launches applications as sub-processes
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.8.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
: 263705 364268 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-01-11 10:55 UTC by Erik Quaeghebeur
Modified: 2020-10-30 08:20 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.20
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2017-01-11 10:55:54 UTC
When launching applications through krunner, they become sub-processes of krunner. When krunner encounters a bug that makes it necessary to kill it, also these applications are killed.

I think it would be better if the applications are launched in their own process, separately from krunner.
Comment 1 Kai Uwe Broulik 2017-01-11 11:04:20 UTC
I can confirm. I think I've seen the same also with Kickoff, at least my Qt Creator sometimes just disappears when I quit plasmashell.

CC'ing David Faure.

Happens with both the service runner (that lists applications) which does KRun::runService(*service) as well as with the shell runner which does KRun::runCommand
Comment 2 Alexander Lohnau 2020-10-11 18:27:10 UTC
*** Bug 364268 has been marked as a duplicate of this bug. ***
Comment 3 Alexander Lohnau 2020-10-30 08:05:17 UTC
*** Bug 263705 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Lohnau 2020-10-30 08:20:27 UTC
This is fixed with the port to KIO::ApplicationLauncherJob and KIO::CommandLauncherJob in https://phabricator.kde.org/D28347.