InfiniTimeOrg / InfiniTimeOrg/InfiniTime

Stopwatch resets when leaving the app.

Open
#303 5 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C
Stars
3.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hello, I was using the stopwatch, and I noticed that whenever I closed the app, the stop watch would reset back to 0. Here is a video demonstrating the issue: https://www.youtube.com/watch?v=AcRQ5m9-PVQ

The expected behavior is having the stop watch still be running or atleast paused when the app is relaunched.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the stopwatch implementation and the app lifecycle or state-management entry points; the issue provides no file or test names. Reproduce the reset after closing and relaunching the app, then trace how stopwatch state is handled across that boundary. Done means the stopwatch remains running or paused after relaunch, as described in the issue and demonstration video.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.