SUMMARY On a dual monitor setup with two panels, the brightness and color widgets do not sync their values when one of them is adjusted. STEPS TO REPRODUCE case one: 1. Add two brightness and color widgets to the panel. 2. Change the display brightness on one of the widgets. 3. Open the other widget. It still shows the old brightness value. case two: 1. Add two brightness and color widgets to the panel. 2. Open one of the widgets and pin it. 3. Change the display brightness using the other widget. 4. The pinned widget does not update to show the new brightness value. OBSERVED RESULT The brightness and color widgets do not update to reflect changes made in the other widget. EXPECTED RESULT Both brightness and color widgets should sync their values when one of them is adjusted, similar to how audio volume widget behaves. SOFTWARE/OS VERSIONS Operating System: NixOS 24.11 KDE Plasma Version: 6.2.2 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0 Kernel Version: 6.11.5 (64-bit) Graphics Platform: Wayland
Can reproduce.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/462
Git commit 5a06866f063b9c6577c89f6643236eeb0405afe5 by Jakob Petsovits. Committed on 15/11/2024 at 19:53. Pushed by jpetso into branch 'master'. applets/brightness: Make brightness of multiple applets stay in sync Previously, dragging the slider on one instance of the applet would leave other instances untouched and thus out of sync. The sending applet instance would include a hardcoded source client context string in its `setBrightness` D-Bus method call, but *all* instances would ignore the resulting brightness change event with this context. To fix this, make sure that each applet instance uses a different context string. We'll increment a number in each constructor and use it as part of a context string template. Only the sending applet instance will ignore brightness change events caused by its own brightness setter call. M +6 -3 applets/brightness/plugin/screenbrightnesscontrol.cpp M +1 -0 applets/brightness/plugin/screenbrightnesscontrol.h https://invent.kde.org/plasma/powerdevil/-/commit/5a06866f063b9c6577c89f6643236eeb0405afe5
Git commit 1197dc8a936b46578560f87764d98e37db0c6a4c by Jakob Petsovits. Committed on 15/11/2024 at 20:03. Pushed by jpetso into branch 'Plasma/6.2'. applets/brightness: Make brightness of multiple applets stay in sync Previously, dragging the slider on one instance of the applet would leave other instances untouched and thus out of sync. The sending applet instance would include a hardcoded source client context string in its `setBrightness` D-Bus method call, but *all* instances would ignore the resulting brightness change event with this context. To fix this, make sure that each applet instance uses a different context string. We'll increment a number in each constructor and use it as part of a context string template. Only the sending applet instance will ignore brightness change events caused by its own brightness setter call. (cherry picked from commit 5a06866f063b9c6577c89f6643236eeb0405afe5) M +6 -3 applets/brightness/plugin/screenbrightnesscontrol.cpp M +1 -0 applets/brightness/plugin/screenbrightnesscontrol.h https://invent.kde.org/plasma/powerdevil/-/commit/1197dc8a936b46578560f87764d98e37db0c6a4c