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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/libplasma/-/commit/fda83
                   |                            |fa9b952522f7775732ec2e6901a
                   |                            |1689c51d
             Status|ASSIGNED                    |RESOLVED
            Version|                            |6.6.0
  Fixed/Implemented|                            |
                 In|                            |
         Resolution|---                         |FIXED

--- Comment #6 from cwo <[email protected]> ---
Git commit fda83fa9b952522f7775732ec2e6901a1689c51d by Christoph Wolk.
Committed on 05/02/2026 at 14:21.
Pushed by cwo into branch 'master'.

plasmacomponents3/SwitchIndicator: don't highlight non-visual focus

SwitchIndicator uses the hovered handle style when it has focus (even if
not hovered). This is confusing when the Switch is used inside a
FocusScope as its color is different based on having had focus in the
past (or having it in the future if the FocusScope gains activeFocus).
Sometimes it may make sense for elements to indicate where focus will be
if it is moved, but there does not seem to be a good reason here, and we
don't do it for other kinds of buttons, nor do we do it in
qqc2-desktop-style SwitchIndicators.

Instead, make it conditional on having visualFocus. This is also how
qqc2-desktop-style handles this.
FIXED-IN: 6.6.0

M  +1    -1    src/declarativeimports/plasmacomponents3/SwitchIndicator.qml

https://invent.kde.org/plasma/libplasma/-/commit/fda83fa9b952522f7775732ec2e6901a1689c51d

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

Reply via email to