Bug 457332

Summary: Minutes in Screen Lock settings are broken if typed with 2 digits
Product: [Applications] systemsettings Reporter: Enrico <enricobe>
Component: kcm_screenlockerAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: enricobe, nate
Priority: NOR Keywords: usability
Version First Reported In: 5.92.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 6.1.0
Sentry Crash Report:
Attachments: Shown the bug reported

Description Enrico 2022-07-31 07:09:42 UTC
Created attachment 151028 [details]
Shown the bug reported

In the Screen Lock settings if you type the minutes with 2 digits it has a strange behavior (see SL_1 image)

STEPS TO REPRODUCE
1. Open the Screen Lock window
2. Select the text of the minutes (DO NOT delete the text, just select it)
3.  Write the minutes (e.g. type "50")
4. You will see the result as in the SL_1 image

OBSERVED RESULT
Minutes are scrambled with the text

EXPECTED RESULT
If I write "50" the text should become "50 minutes" and not "5 minutes0". Maybe there should be a timeout after the last key press before writing "minutes" automatically

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.25
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.15.0-41-generic (64-bit)
Comment 1 Enrico 2024-01-13 08:18:05 UTC
Updating this bug. It still happens in Plasma 6

Operating System: KaOS (2024) 
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1
Kernel Version: 6.6.11-1 (64-bit)
Graphics Platform: Wayland
Comment 2 Nate Graham 2024-06-11 23:30:59 UTC
This is fixed with the new time input UI in Plasma 6.1