Bug 505071 - The battery charge limit settings spin box works wrong
Summary: The battery charge limit settings spin box works wrong
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_powerdevil (other bugs)
Version First Reported In: 6.3.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2025-05-31 18:43 UTC by Lech
Modified: 2025-06-03 22:41 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lech 2025-05-31 18:43:13 UTC
SUMMARY

Deleting "100%" in the spin entry text box and entering anything, or backspacing on 2 characters of "100%" causes it to fill up with "50%", while it should just fill up with the value I enter or allow me to backspace everything. Then, editing the "50%" is normal.

STEPS TO REPRODUCE
1. Open the Power and Battery widget
2. Click on "Configure Power Management" icon
3. Click on "Advanced Power Settings"
4. Change (or try to change) the "Charge Limit" in the spinbox, by backspacing, or deleting the whole and entering a new value

OBSERVED RESULT
"50%" appears

EXPECTED RESULT
Only what I enter appears

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Comment 1 cwo 2025-06-01 07:32:37 UTC
Can reproduce. This is not optimal, and likely caused by the spinbox being to aggressive about ensuring a valid value.
Comment 2 Nate Graham 2025-06-03 22:41:06 UTC
Yep.