https://bugs.kde.org/show_bug.cgi?id=505071
Jakob Petsovits <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/plas | |ma/powerdevil/-/commit/5aa8 | |9e5cdd3260cddf1acc0e62cd00c | |d1027d2ba Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Jakob Petsovits <[email protected]> --- Git commit 5aa89e5cdd3260cddf1acc0e62cd00cd1027d2ba by Jakob Petsovits, on behalf of Christoph Wolk. Committed on 03/09/2026 at 14:13. Pushed by jpetso into branch 'master'. kcm/ui: improve charge threshold spinboxes on desktop-style The spinboxes for charge state interact very awkwardy with qqc2-desktop-style's automatic update behavior, in particular for charge stop. It updates mid-edit as long as the input is valid, which interrupts the user by re-adding the % character prematurely, and even applies the range constraints, so trying to delete the existing number will replace it with "50%" first. This is ultimately a case of bad behavior in qqc2-desktop-style and does not affect union, but we can work around it locally. Instead, we manually recreate the QQC2 SpinBox behavior of only updating on focus loss (which happens mostly automatically) and when manually pressing Return. This issue only affects qqc2-desktop-style, and we can drop this commit if we ever decide to stop caring about the kcm's compatibility with it (or desktop-style stops doing this, which might be difficult as external apps may rely on this behavior). M +53 -7 kcm/ui/GlobalConfig.qml https://invent.kde.org/plasma/powerdevil/-/commit/5aa89e5cdd3260cddf1acc0e62cd00cd1027d2ba -- You are receiving this mail because: You are watching all bug changes.
