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

Jakob Petsovits <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/powerdevil/-/commit/83f6
                   |                            |85b79cc31fb5aae03c16285da3f
                   |                            |05907a47d
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from Jakob Petsovits <[email protected]> ---
Git commit 83f685b79cc31fb5aae03c16285da3f05907a47d by Jakob Petsovits.
Committed on 09/01/2026 at 17:00.
Pushed by jpetso into branch 'master'.

applets/batterymonitor: Redesign inhibition list again

Highlights at a glance:
* Phrasings distinguish between sleep and screen locking
* Remove some labels, so that the user focuses on what matters

Following commit f9c81566, the PowerDevil service provides enough
information to show whether an inhibition is blocking just sleep
or just screen locking, or both.

Introducing this distinction complicated label phrasings though,
so we also had to tweak the UI to remain straightforward enough.

As per Nate's suggested design, the indicator text at the top is
removed for simplicity. The "Manually Block" is once again a toggle,
now at the top of the inhibition section.

We also get rid of the heading "N applications are currently
blocking sleep [and/or screen locking]", which used to appear
when multiple inhibitions were requested.

In order to tell whether sleep and/or screen locking are currently
inhibited, the user therefore has to look at all the remaining
individual list items. However, this is generally acceptable as more
than a small handful of inhibition list items are exceedingly rare.
(An accessible status description continues to summarize the section.)

In return, the section as a whole is tidier, generally with less
text to read, which makes it more likely that the user will actually
try to parse the remaining items.

M  +104  -167  applets/batterymonitor/InhibitionItem.qml
M  +1    -1    applets/batterymonitor/PopupDialog.qml
M  +1    -1    applets/batterymonitor/plugin/inhibitioncontrol.cpp
M  +2    -2    applets/batterymonitor/plugin/inhibitioncontrol.h

https://invent.kde.org/plasma/powerdevil/-/commit/83f685b79cc31fb5aae03c16285da3f05907a47d

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

Reply via email to