Closed
Bug 919567
Opened 11 years ago
Closed 11 years ago
Stopwatch and Timer Panels do not update from underlying data objects
Categories
(Firefox OS Graveyard :: Gaia::Clock, defect)
Tracking
(blocking-b2g:koi+, b2g-v1.2 fixed)
People
(Reporter: yannick, Assigned: yannick)
Details
Attachments
(1 file)
In order to restore the stopwatch and timer state when the app starts, we need to be able to directly update the UI to a given state (started, paused, running, etc.). Currently the panels are primarily geared to changing state/appearance upon user interaction.
Comment 1•11 years ago
|
||
Requesting koi+ Without this patch, closing and re-opening the Clock app will appear to the user as though the app has lost any existing Timers or Stopwatches
blocking-b2g: --- → koi?
Assignee | ||
Comment 2•11 years ago
|
||
Do note however, that while this patch is to allow the Stopwatch and Panel UIs to match their underlying model objects, this bug doesn't track whether that object is coming from the persistence layer. For the bug tracking persistence itself see: https://bugzilla.mozilla.org/show_bug.cgi?id=910325, this patch is needed to solve that bug.
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #810116 -
Flags: feedback?(waldron.rick)
Attachment #810116 -
Flags: feedback?(mike)
Attachment #810116 -
Flags: feedback?(evelyn)
Comment 4•11 years ago
|
||
(In reply to Yannick Assogba [yannick_a] [tafsiri] from comment #2) > For the bug tracking > persistence itself see: https://bugzilla.mozilla.org/show_bug.cgi?id=910325, > this patch is needed to solve that bug. So do we also need to nominate bug 910325 (and its dependencies) or can the persistence bugs be handled as a separate effort?
Flags: needinfo?(yannick)
Flags: needinfo?(waldron.rick)
Comment 5•11 years ago
|
||
triage: this is definitely bad and I think we should block on it, but depending on the answer to comment #4 we may have to re-evaluate if there are several persistence bugs to fix behind this one
blocking-b2g: koi? → koi+
Comment 6•11 years ago
|
||
(In reply to Dylan Oliver [:doliver] from comment #4) > (In reply to Yannick Assogba [yannick_a] [tafsiri] from comment #2) > > For the bug tracking > > persistence itself see: https://bugzilla.mozilla.org/show_bug.cgi?id=910325, > > this patch is needed to solve that bug. > > So do we also need to nominate bug 910325 (and its dependencies) or can the > persistence bugs be handled as a separate effort? Dylan, thanks for taking a look at this. The persistence bugs can be handled separately. This bug is about restoring/reviving a persisted timer or stopwatch, not the actual persistence. Thanks again!
Flags: needinfo?(waldron.rick)
Comment 7•11 years ago
|
||
Comment on attachment 810116 [details] [review] pull request for this bug for feedback I've left some thoughts on the pull request. Feel free to flag me for review/feedback once you've incorporated the feedback (or sooner, if you have questions)!
Attachment #810116 -
Flags: feedback?(mike)
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 810116 [details] [review] pull request for this bug for feedback flagging for review
Attachment #810116 -
Flags: review?(mike)
Attachment #810116 -
Flags: feedback?(waldron.rick)
Attachment #810116 -
Flags: feedback?(evelyn)
Comment 9•11 years ago
|
||
Comment on attachment 810116 [details] [review] pull request for this bug for feedback Hey Yannick, Almost there!
Attachment #810116 -
Flags: review?(mike)
Assignee | ||
Updated•11 years ago
|
Attachment #810116 -
Flags: review?(mike)
Comment 10•11 years ago
|
||
Comment on attachment 810116 [details] [review] pull request for this bug for feedback Looking good, Yannick! I'll merge this for you in just a minute.
Attachment #810116 -
Flags: review?(mike) → review+
Comment 11•11 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/43c9c569d99f7124cc7c32afc96f52a97b3d4296 Thanks, Yannick!
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 12•11 years ago
|
||
Uplifted 43c9c569d99f7124cc7c32afc96f52a97b3d4296 to: v1.2: 9e9c36012ae8f51d5edc53d313cad8a4d93bc6c0
status-b2g-v1.2:
--- → fixed
Updated•11 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(yannick)
You need to log in
before you can comment on or make changes to this bug.
Description
•