Bug 364337

Summary: killer/killer.cpp calls SIGKILL whereas the non-interactive code in client.cpp uses SIGTERM
Product: [Plasma] kwin Reporter: Thomas Lübking <thomas.luebking>
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kde.org
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.