Revision 26a8ddc...

Go back to digest for 27th April 2014

Bug Fixes in KDE Base

Wolfgang Bauer committed changes in [kde-workspace/KDE/4.11] /screenlocker:

screenlocker: don't leave behind screensaver processes

Currently the screen locker just kills the greeter (kscreenlocker_greet)
when the screen is unlocked by the user during the grace time.
But apparently this can leave behind running screensaver processes
launched by the greeter, see the bug report (which has the highest
number of votes of all open bugs AFAICS).

This patch changes this to only terminate the greeter, and adds a signal
handler to the greeter to exit gracefully in this case.
The signal handler exits with return code 1, so that it is not possible
to circumvent the password input by just sending a SIGTERM. (the screen
locker restarts the greeter in case it doesn't quit with exit code 0)


FIXED-IN: 4.11.9
REVIEW: 117644

File Changes

Modified 2 files
  • /screenlocker
  •   ksmserver/ksldapp.cpp
  •   ksmserver/greeter/main.cpp
2 files changed in total