[clock][ux] Stopwatch should keep running (in the background) even when the phone/clock app is turned off
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Clock App |
Fix Released
|
Wishlist
|
Bartosz Kosiorek | ||
Ubuntu UX |
Triaged
|
Low
|
James Mulholland |
Bug Description
The stopwatch should continue running even if the phone is switched off/ clock app is closed. This is something we can observe on other platforms such as Android.
This feature was already implemented for Ubuntu Touch with Michael Zanetti Stopwatch: https:/
Essentially it involves storing the start time on the disk and then the next time when clock app is reopened, it picks of from there. It is quite easy to implement and is not inhibited by the platform lifecycle policy.
The laps data can also be stored in a database.
User scenario:
1. User opens clock app and stopwatch
2. User pressing laps several times
3. User turns off phone
4. User turns on phone, opens clock app.
Expected behaviour:
5. the stopwatch is revealed immediately with counting stopwatch
6. Previous data (laps time) is available in stopwatch
Related branches
- Nekhelesh Ramananthan: Approve
- Bartosz Kosiorek: Approve
-
Diff: 460 lines (+284/-16)11 files modifiedapp/MainPage.qml (+15/-0)
app/stopwatch/LapListView.qml (+1/-1)
app/stopwatch/StopwatchPage.qml (+8/-14)
backend/CMakeLists.txt (+25/-0)
backend/modules/Stopwatch/LapHistory/backend.cpp (+34/-0)
backend/modules/Stopwatch/LapHistory/backend.h (+35/-0)
backend/modules/Stopwatch/LapHistory/history.cpp (+97/-0)
backend/modules/Stopwatch/LapHistory/history.h (+64/-0)
backend/modules/Stopwatch/LapHistory/qmldir (+2/-0)
debian/changelog (+1/-0)
debian/control (+2/-1)
Changed in ubuntu-clock-app: | |
status: | New → Incomplete |
description: | updated |
description: | updated |
Changed in ubuntu-clock-app: | |
milestone: | none → 3.6 |
summary: |
- [clock][ux] Allows working stopwatch when phone is turned off + [clock][ux] Allows working stopwatch when clock app/phone is turned off |
summary: |
- [clock][ux] Allows working stopwatch when clock app/phone is turned off + [clock][ux] Stopwatch should keep running (in the background) even when + the phone/clock app is turned off |
description: | updated |
Changed in ubuntu-ux: | |
status: | New → Triaged |
importance: | Undecided → Low |
assignee: | nobody → James Mulholland (jamesjosephmulholland) |
Changed in ubuntu-clock-app: | |
status: | Incomplete → In Progress |
description: | updated |
Changed in ubuntu-clock-app: | |
assignee: | nobody → Bartosz Kosiorek (gang65) |
Changed in ubuntu-clock-app: | |
milestone: | 3.6 → 3.5 |
Changed in ubuntu-clock-app: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-clock-app: | |
importance: | Low → Wishlist |
Changed in ubuntu-clock-app: | |
status: | Fix Committed → Fix Released |