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

Natalie Clarius <natalie_clar...@yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/powerdevil/-/commit/041e
                   |                            |a8fe09e054e43c92c45051cf952
                   |                            |3e8485cc7
             Status|ASSIGNED                    |RESOLVED

--- Comment #28 from Natalie Clarius <natalie_clar...@yahoo.de> ---
Git commit 041ea8fe09e054e43c92c45051cf9523e8485cc7 by Natalie Clarius.
Committed on 16/08/2024 at 15:10.
Pushed by nclarius into branch 'inhibitions-block'.

policyagent: support blocking inhibitions

Allow the user to release, and optionally configure to permanently reject,
inhibitions from certain apps for certain reasons.

Expose the following new methods and signals via D-Bus:
- BlockInhibition: Release any current inhibitions that match the pattern. If
set to permanent, also reject any new inhibitions from that app with that
reason. Permanently blocked inhibitions are kept track of in a list saved in
the configuration file.
- UnblockInhibition: Retroactively inforce matching inhibitions that were
previously released or rejected but are still relevant. If set to permanent,
remove the pair from the list if applicable.
- ListBlockedInhibitions: List all inhibitions that that would currently be
active but were released or rejected on user request.
- BlockedInhibitionsChanged: Emitted when the list of blocked inhibitions
changes.

For motivation of why such functionality is desired, see the bug report.

M  +1    -1    daemon/powerdevilpolicyagent.cpp

https://invent.kde.org/plasma/powerdevil/-/commit/041ea8fe09e054e43c92c45051cf9523e8485cc7

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

Reply via email to