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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |03e8e795242549ab872bf406ce7
                   |                            |2013068f643a0
            Version|                            |6.6.0
  Fixed/Implemented|                            |
                 In|                            |
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from cwo <[email protected]> ---
Git commit 03e8e795242549ab872bf406ce72013068f643a0 by Christoph Wolk.
Committed on 25/01/2026 at 12:40.
Pushed by cwo into branch 'master'.

desktoppackage/configuration: allow re-adding action button

ConfigurationContainmentActions allows creating custom button bindings.
It uses MouseEventInputButton, and listens to its eventString property
changing. But this doesn't work if the user adds a particular binding,
deletes it, then tries to add the same binding again: re-doing the same
input does not change the input as stored in eventString, so the Changed
signal is never emitted. (If the user adds a different binding in
between, everything works again, as now the property contains that
binding, and can be overwritten by adding the same binding again).

Instead, we send the Changed() signal explicitly when an input was made
but the current one is unchanged from the previously set one. There's a
separate check to make sure that the same binding is not added twice.
FIXED-IN: 6.6.0

M  +8    -4    desktoppackage/contents/configuration/MouseEventInputButton.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/03e8e795242549ab872bf406ce72013068f643a0

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

Reply via email to