Bug 263705

Summary: Krunner does not set session before executing
Product: [Plasma] krunner Reporter: poelzi <bugs.kde.org>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alexander.lohnau
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description poelzi 2011-01-20 03:21:48 UTC
Version:           unspecified (using KDE 4.5.5) 
OS:                Linux

As a application starter, krunner should do setsid() before executing so the started program will get a new session.
The session id is a very good way to to distinguish different program groups, but currently all programs started under krunner have the same.

This increases allows systems to be better scheduled with the autogrouper of 2.6.38 or ulatencyd.

Reproducible: Always

Steps to Reproduce:
execute some programs with krunner
execute: ps xafw -o pid,args,session

Actual Results:  
sessions of all childs are the same.

Expected Results:  
should be different
Comment 1 Vishesh Handa 2015-02-13 17:21:52 UTC
Confirmed with Plasma 5.
Comment 2 Alexander Lohnau 2020-10-30 08:05:17 UTC

*** This bug has been marked as a duplicate of bug 374909 ***