Summary: | brightness-control slider shows different percentage than OSD | ||
---|---|---|---|
Product: | [Plasma] Powerdevil | Reporter: | slartibart70 |
Component: | general | Assignee: | ratijas <me> |
Status: | ASSIGNED --- | ||
Severity: | normal | CC: | jpetso, kde, me, natalie_clarius, nate |
Priority: | NOR | ||
Version: | 5.27.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
slartibart70
2023-05-22 06:43:39 UTC
I also noticed that moving slider fast can get it out of sync or revert (sync) to an intermediate state. So I trust your bug report even without screenshots (: Probably backend needs some job buffering and proper ordering. I've done something like that in my personal DDC/CI brightness control app, so I should take a look at it in Plasma powerdevil too. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3178 New merge request @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/342. It fixes the brightness slider lagginess and makes the slider jump way less, still possible but negligible in practice. I have deeply pondered what this means for the slider going out of sync with the OSD. Quick testing now seems fine in terms of showing the right OSD values after quickly dragging the brightness slider. It may just all be a question of "how much time do you give powerdevil to apply the new brightness slider value before pressing the brightness key". In which case, the answer is "it needs a lot less time to apply the new brightness than it did before (but there is still a little delay theoretically)". A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4294 Git commit 2f7649edc535c68e1906c2dd3b14152e0ed9f0b9 by Xaver Hugl. Committed on 08/05/2024 at 21:41. Pushed by zamundaaa into branch 'master'. applets/brightness: fix max brightness change notification The wrong signal name was used, which meant the maximum brightness value of the slider and the actual maximum powerdevil uses could get out of sync M +1 -1 applets/brightness/plugin/screenbrightnesscontrol.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/2f7649edc535c68e1906c2dd3b14152e0ed9f0b9 |