Bug 364337 - killer/killer.cpp calls SIGKILL whereas the non-interactive code in client.cpp uses SIGTERM
Summary: killer/killer.cpp calls SIGKILL whereas the non-interactive code in client.cp...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: core (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-15 06:12 UTC by Thomas Lübking
Modified: 2021-11-06 17:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Lübking 2016-06-15 06:12:11 UTC
Should probably be harmonized.

Maybe
* tag the client
* ::kill(PID, SIGTERM)
* wait few seconds
* if the tagged client is still there, ::kill(PID, 0), ::kill(PID, SIGKILL)

Reproducible: Always
Comment 1 kde.org 2021-11-06 17:20:47 UTC
I found the following files

src/helpers/killer/killer.cpp
src/x11client.cpp

in KDE 5.24-master, so the issue might still persist. It doesn't really sound like a bug, but rather a code cleanup that should be done sometime in the future.