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

Jakob Petsovits <jpe...@petsovits.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/powerdevil/-/commit/5a06
                   |                            |866f063b9c6577c89f6643236ee
                   |                            |b0405afe5

--- Comment #3 from Jakob Petsovits <jpe...@petsovits.com> ---
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

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

Reply via email to