Bug 451576

Summary: Time input field is nightmare
Product: [Applications] systemsettings Reporter: medin <med.medin.2014>
Component: kcm_nightcolorAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kwin-bugs-null, natalie_clarius, nate, runawaytrike
Priority: NOR Keywords: usability
Version: 5.24.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=413010
Latest Commit: Version Fixed In: 6.1
Sentry Crash Report:

Description medin 2022-03-16 15:22:15 UTC
Those time fields make entering time really hard, you should position your cursor at the left of the digit then type it, and any successive typing results in modifying numbers at right, is there any way to convert them to separate spinner or another elegant time picker.
Comment 1 Nate Graham 2022-03-26 02:09:56 UTC
Yeah, we should use a real time entry widget here. The current bodged-together one is rather frustrating to use.
Comment 2 Bug Janitor Service 2024-04-03 19:56:26 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4195
Comment 3 Natalie Clarius 2024-04-04 00:03:35 UTC
Alternative fix: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4197
Comment 4 Natalie Clarius 2024-04-16 02:12:36 UTC
Git commit 426c82ef2a192c24015e83b4675a9ec708650b43 by Natalie Clarius.
Committed on 16/04/2024 at 02:00.
Pushed by nclarius into branch 'master'.

kcms/nightcolor: use spinboxes instead of text field for manual time selection

The old regex validated text field input method was very cumbersome to use and buggy.

M  +70   -31   kcms/nightlight/ui/TimeField.qml
M  +2    -19   kcms/nightlight/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/426c82ef2a192c24015e83b4675a9ec708650b43
Comment 5 Nate Graham 2024-05-22 20:08:55 UTC
*** Bug 487319 has been marked as a duplicate of this bug. ***