https://bugs.kde.org/show_bug.cgi?id=429415

--- Comment #3 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 25e84f3f6ac54097d9c021705dc18b187352fa02 by David Edmundson.
Committed on 18/12/2020 at 17:29.
Pushed by davidedmundson into branch 'master'.

Avoid autostarting kglobalaccel when shutting down

Order of our service teardown is somewhat undefined. kglobalaccel5 can
be closed before plasmashell.

On plasma exit we call setInactive/unregister on various kglobalaccel
actions and accidentally spawn kglobalaccel again.

If kglobalaccel is already closed, our actions aren't registered. There
is no point waking it up to try and remove an action. Use of the
setAutoStartService flag was chosen over checking if the kglobalaccel
service is still registered as that is still racey.

This was always slightly broken, but changes in the ecosystem means the
effect has worsened.

M  +25   -3    src/kglobalaccel.cpp
M  +3    -0    src/kglobalaccel_p.h

https://invent.kde.org/frameworks/kglobalaccel/commit/25e84f3f6ac54097d9c021705dc18b187352fa02

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to