Closed Bug 966211 Opened 12 years ago Closed 12 years ago

Screen should not timeout when I have a running stopwatch

Categories

(Firefox OS Graveyard :: Gaia::Clock, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: daleharvey, Assigned: gargsms)

References

Details

Attachments

(1 file, 1 obsolete file)

I need to know how long to cook my eggs damnit
Hey, Dale, I would like to work on this bug. Please guide me.
Flags: needinfo?(dale)
Hey Marcus Is this a feature we want, is it in any backlog etc?
Flags: needinfo?(dale) → needinfo?(m)
I don't think this is in any backlog, but it appears iOS keeps the screen alive, and it makes sense that if I was running a stopwatch, I'd likely want the screen to stay active unless I exit the app or manually lock it. Seems reasonable to me to fix.
Flags: needinfo?(m)
Assignee: nobody → garg_sms
Attachment #8369111 - Flags: review?(m)
Comment on attachment 8369111 [details] [diff] [review] Changed stopwatch_panel.js, working fine now Looks good to me! I'd make two minor changes (which I can do when I land it, if you like, or you can update the patch if you prefer): - I'd change `lockObj` to something more descriptive like `screenWakeLock` - I'd just use `navigator` instead of `window.navigator`. I'll test on Monday when I get back into work, and if all looks well, I'll land it in master.
Attachment #8369111 - Flags: review?(m) → review+
[setting needinfo for me so that I can track it]
Flags: needinfo?(m)
(In reply to Marcus Cavanaugh [:mcav] <mcav@mozilla.com> from comment #5) > Comment on attachment 8369111 [details] [diff] [review] > Changed stopwatch_panel.js, working fine now > > Looks good to me! I'd make two minor changes (which I can do when I land it, > if you like, or you can update the patch if you prefer): > > - I'd change `lockObj` to something more descriptive like `screenWakeLock` > > - I'd just use `navigator` instead of `window.navigator`. > > I'll test on Monday when I get back into work, and if all looks well, I'll > land it in master. I did update the patch. Thank you!
Attachment #8369111 - Attachment is obsolete: true
Attachment #8369157 - Flags: review?(m)
Comment on attachment 8369157 [details] [diff] [review] Comment #5 taken into account r+, though the diff is backwards (minus lines instead of plus lines). Will land after travis passes.
Attachment #8369157 - Flags: review?(m) → review+
Flags: needinfo?(m)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
(In reply to Marcus Cavanaugh [:mcav] <mcav@mozilla.com> from comment #9) > Comment on attachment 8369157 [details] [diff] [review] > Comment #5 taken into account > > r+, though the diff is backwards (minus lines instead of plus lines). Will > land after travis passes. Oops, sorry for that. It was my first ever actual bug fix. :)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: