Bug 476805 - Make the brightness slider affect the brightness of SDR content when HDR is enabled
Summary: Make the brightness slider affect the brightness of SDR content when HDR is e...
Status: RESOLVED FIXED
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.4
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-10 19:57 UTC by [object Object]
Modified: 2024-05-14 08:13 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description [object Object] 2023-11-10 19:57:10 UTC
There's currently a command to do this, so making the brightness slider change the brightness of SDR content might be a good idea (as most apps/games will be SDR, so adjusting the brightness of them is useful).
Comment 1 Bug Janitor Service 2024-05-08 19:04:09 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/356
Comment 2 Zamundaaa 2024-05-14 08:13:16 UTC
Git commit 9d76ee3831a4b05580e2928e396f3c74e61d6d5a by Xaver Hugl.
Committed on 14/05/2024 at 08:10.
Pushed by zamundaaa into branch 'master'.

daemon/controller: add support for KWin brightness control

This works with HDR for now, and can be extended to take care of other methods
of brightness control later on as well

M  +1    -0    daemon/CMakeLists.txt
A  +130  -0    daemon/controllers/kwinbrightness.cpp     [License: LGPL(v2.0+)]
A  +57   -0    daemon/controllers/kwinbrightness.h     [License: LGPL(v2.0+)]
M  +2    -0    daemon/controllers/screenbrightnesscontroller.cpp

https://invent.kde.org/plasma/powerdevil/-/commit/9d76ee3831a4b05580e2928e396f3c74e61d6d5a