Bug 479562 - Timers should show time remaining
Summary: Timers should show time remaining
Status: RESOLVED FIXED
Alias: None
Product: KClock
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Devin Lin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-09 03:41 UTC by Ben Daines
Modified: 2024-10-22 05:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 24.12
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Daines 2024-01-09 03:41:55 UTC
SUMMARY
***
Currently when a timer is running, the user is shown the time that has elapsed since the timer was started, and the amount of time that the timer was set for.  Typically timers show T- for the time remaining.  KClock does this differently, perhaps incorrectly... a setting would be nice and, personally, I would find the remaining time more useful than the total time or the time that has elapsed.  The current design makes me do math to get the information that I want / need. 
***
Comment 2 Devin Lin 2024-10-22 05:00:11 UTC
Git commit b691a992ea57998fdd81e2fbb0f3e1844cc56099 by Devin Lin, on behalf of Zhangzhi Hu.
Committed on 22/10/2024 at 03:03.
Pushed by devinlin into branch 'master'.

Replace the elapsed time with remaining time

Currently when a timer is running, the user is shown the time that
has elapsed since the timer was started, and the amount of time that
the timer was set for. However, typically timers show the time
remaining. Therefore, we'd better replace the elapsed time with
remaining time.

M  +2    -2    src/kclock/qml/timer/TimerListDelegate.qml
M  +5    -0    src/kclock/timer.cpp
M  +2    -0    src/kclock/timer.h

https://invent.kde.org/utilities/kclock/-/commit/b691a992ea57998fdd81e2fbb0f3e1844cc56099