timer allows invalid input

Bug #2060164 reported by Nathan Hinton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Clocks
New
Unknown
gnome-clocks (Ubuntu)
Triaged
Low
Unassigned

Bug Description

When trying to set a timer there is unexpected behavior as I enter values.

Description: Ubuntu 22.04.3 LTS
Release: 22.04

gnome-clocks (installed via snap)
gnome-clocks 45.0 465 latest/stable canonical✓ -

I set a timer for 22 minutes and then accidentally hit an extra 2 which made the timer change to 3 hours and 42 minutes. I realize that this is 222 minutes however it caused me confusion when trying to fix it as explained below.

How to reproduce the bug:
select the seconds spot with the the cursor in the left side. Enter a 9. It looks like you are entering 90 seconds however what actually happens is you are entering 900 seconds now.

What I expected:
I expect the cursor to be in overwrite mode so that it would remove the 0 on the side and change the number from "00" to "90". To keep the ability to enter larger numbers like "123" change the cursor mode to insert mode when it reaches the right side of the input box

Jeremy Bícha (jbicha)
Changed in gnome-clocks (Ubuntu):
status: New → Triaged
importance: Undecided → Low
summary: - clock time acts weird on unusual input
+ timer allows invalid input
Changed in gnome-clocks:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.