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

Kai Uwe Broulik <k...@privat.broulik.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |5.18.6
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/powerdevil/commit/d21102
                   |                            |cc6c7a4db204a29f376ce5eb316
                   |                            |ef57a6e
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Kai Uwe Broulik <k...@privat.broulik.de> ---
Git commit d21102cc6c7a4db204a29f376ce5eb316ef57a6e by Kai Uwe Broulik.
Committed on 19/06/2020 at 17:51.
Pushed by broulik into branch 'Plasma/5.18'.

Watch DBus service right away to discard pending inhibitions reliably

PowerDevil delays applying a power management inhibition by 5 seconds to avoid
brief inhibitions
to e.g. wake up the screen and similar.
However, when an inhibition was posted and the process then quit, we would then
still
enforce the inhibition as it wasn't explicitly revoked.
Fix this by always watching the inhibition sender and remove it from pending
when the
service goes away.
FIXED-IN: 5.18.6

M  +12   -14   daemon/powerdevilpolicyagent.cpp

https://invent.kde.org/plasma/powerdevil/commit/d21102cc6c7a4db204a29f376ce5eb316ef57a6e

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

Reply via email to