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

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/libplasma/-/commit/fda83 |ma/libplasma/-/commit/1d86f
                   |fa9b952522f7775732ec2e6901a |86cdfe4b7140bf5c39fb71ea1b9
                   |1689c51d                    |cfd75d38

--- Comment #7 from cwo <[email protected]> ---
Git commit 1d86f86cdfe4b7140bf5c39fb71ea1b9cfd75d38 by Christoph Wolk.
Committed on 05/02/2026 at 15:23.
Pushed by cwo into branch 'Plasma/6.6'.

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


(cherry picked from commit fda83fa9b952522f7775732ec2e6901a1689c51d)

Co-authored-by: Christoph Wolk <[email protected]>

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

https://invent.kde.org/plasma/libplasma/-/commit/1d86f86cdfe4b7140bf5c39fb71ea1b9cfd75d38

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

Reply via email to