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

            Bug ID: 511915
           Summary: 'Stop charging at' charge limit value (%) data
                    validated before data entry complete
    Classification: Plasma
           Product: plasmashell
      Version First master
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Power management & brightness
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: 1.0

SUMMARY

When trying to change the default 'Stop charging at' limit, the first character
of data entered is validated immediately and changed if out of range.  For
example, with a default of 80, selecting this text, deleting  entirely and
typing '7' will immediately be corrected to 50%, rather than allowing the user
to continue typing (e.g. 75).  Similar results will arise if attempting to
delete '0' from the default of '80'.

The up/down arrows work as expected, but data directly entered by the user
should only be validated (and adjusted if needed) in the same manner as the
'Start charging once below' option.

STEPS TO REPRODUCE
1.  Open Power Management -> Advanced Power Settings
2.  For Charge Limit - Stop Charging at, either: 
select and delete all text, then type a single number; or 
delete the last character of the current value.

OBSERVED RESULT
Value entered is corrected to a default (50%)

EXPECTED RESULT
Allow data entry then apply data validation when user changes text field or
clicks Apply, and correct if needed.

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

Reply via email to