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

Nate Graham <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/powerdevil/-/commit/fb6c |ma/powerdevil/-/commit/5cba
                   |6f6f930f1cfa7f3ca90c037cac7 |cbbf109072996b5cb06bf068a09
                   |90eecc9d8                   |1f1de9d7e

--- Comment #20 from Nate Graham <[email protected]> ---
Git commit 5cbacbbf109072996b5cb06bf068a091f1de9d7e by Nate Graham.
Committed on 22/11/2026 at 21:16.
Pushed by ngraham into branch 'Plasma/6.8'.

The DimDisplay action only exists while a display with brightness control
does. When the last one disappears, Core::refreshActions() deletes the
action, and with it the knowledge that it has dimmed. Its dimming limit stays
in ScreenBrightnessController though. The action created for the returning
display has nothing to undo on wake-up, and the leftover limit gets applied
to the returning display, so it stays at 30%.

Displays disappear like this around suspend and resume, when a monitor is
unplugged or switched off, when a laptop lid is closed, and when a DDC/CI
write fails shortly after dimming.

Undim when the action is destroyed while dimmed.
Related: bug 513809
FIXED-IN: 6.8.4


(cherry picked from commit fb6c6f6f930f1cfa7f3ca90c037cac790eecc9d8)

f333bfcd Fix screens staying dimmed when displays disappear while dimmed

Co-authored-by: Petru Mare <[email protected]>

M  +10   -0    daemon/actions/bundled/dimdisplay.cpp
M  +1    -0    daemon/actions/bundled/dimdisplay.h

https://invent.kde.org/plasma/powerdevil/-/commit/5cbacbbf109072996b5cb06bf068a091f1de9d7e

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

Reply via email to