Closed
Bug 1121647
Opened 10 years ago
Closed 10 years ago
Screen turns off by timeout while playing flash video
Categories
(Firefox for Android Graveyard :: Plugins, defect)
Tracking
(firefox35 affected, firefox36 affected, firefox37 affected, firefox38 verified, fennec+)
RESOLVED
FIXED
Firefox 38
People
(Reporter: mirraz1, Assigned: snorp)
References
Details
(Keywords: regression)
Attachments
(1 file)
1015 bytes,
patch
|
esawin
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 20150114183400 Steps to reproduce: Play flash video. Version: Flash Player 11.1 for Android 4.0 (11.1.115.81) Actual results: Screen turns off by timeout. Expected results: Screen shouldn't turn off while playing flash video. Previous version Firefox 34 for Android worked fine.
Reporter | ||
Updated•10 years ago
|
OS: Linux → Android
Hardware: x86_64 → ARM
Comment 2•10 years ago
|
||
On Alcatel One Touch (Android 4.1.2) from Settings -> Display -> I set "Sleep after 15 sec of inactivity" and then play www.intel.com/museumofme/mobile/index.htm. flash video. Screen turns off while playing the flash video on Firefox for Android 35, Firefox for Android 36 Beta 1, latest Aurora 37.0a2 and latest Nightly 38.0a1. The video played until the end on Firefox 34.0.1
Comment 3•10 years ago
|
||
Can you assist with a regression-range?
Status: UNCONFIRMED → NEW
tracking-fennec: --- → ?
status-firefox35:
--- → affected
Ever confirmed: true
Keywords: regression,
regressionwindow-wanted
Updated•10 years ago
|
Comment 4•10 years ago
|
||
Regression window-wanted: good build: 03-10-2014 bad build: 04-10-2014 pushlog:http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=b85c260821ab&tochange=229801d17f7e Bug 1022669 - Display does not turn off while playing audio Note: scenarios tested flash video: http://goo.gl/VLqwCA audio file: http://goo.gl/lv8SLA HTML5 video: http://goo.gl/gStfPS From Settings -> Display -> I set "Sleep after 15 sec of inactivity" and leave the video play for a while: 03-10-2014 build: 1. flash video => The screen won't go off while playing a flash video. 2. audio file => The screen won't go off while audio file is played. 3. HTML5 video => The screen won't go off while playing a HTML5 video. 04-10-2014 build: 1. flash video => The screen turns off while no audio is heard. 2. audio file => The screen turns off while audio is heard. 3. HTML5 video => The screen won't go off while playing a HTML5 video. So, the screen shouldn't go off by timeout while playing a flash and a HTML5 video and it should go off by timeout while playing an audio file.
Updated•10 years ago
|
Keywords: regressionwindow-wanted
Comment 5•10 years ago
|
||
Looks like this is expected behavior after bug 1022669 what is going to be our behavior here?
Flags: needinfo?(snorp)
Flags: needinfo?(alam)
Comment 6•10 years ago
|
||
I understand that we should be able to continue playing audio even with the screen off but video should leave it on... unless I'm missing something? (totally possible)
Flags: needinfo?(alam)
Comment 7•10 years ago
|
||
bug 1022669 changed this behavior for Fx35 we need to make a decision if we should prioritize battery life or uninterrupted video?
Comment 8•10 years ago
|
||
Bug 1022669 changed the behavior for HTML video and HTML audio, but did nothing for Flash video. I believe the issue is how do we get Flash video to act like HTML video? Where in the plugin code do we add the wakelock call to keep the screen from turning off while Flash is playing a video?
Assignee | ||
Comment 9•10 years ago
|
||
We're supposed to respond to Flash's wakelock requests in ANPSystem.cpp:setPowerState(). Maybe something has gone wrong there.
Assignee: nobody → snorp
tracking-fennec: ? → +
Flags: needinfo?(snorp)
Comment 10•10 years ago
|
||
Same problem here when we flash videos online the screen turn off as if we are not watch nothing. Please you help.me?
Assignee | ||
Comment 11•10 years ago
|
||
This ensures we are using the right topic string in order to keep the screen on.
Attachment #8555242 -
Flags: review?(esawin)
Updated•10 years ago
|
Attachment #8555242 -
Flags: review?(esawin) → review+
Assignee | ||
Comment 12•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/dcffe1f134a7
Comment 13•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/dcffe1f134a7
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
Comment 14•10 years ago
|
||
Going to Settings -> Display -> I set "Sleep after 15 sec of inactivity" and then played www.intel.com/museumofme/mobile/index.htm video. The screen does not go off while playing it, so: Verified as fixed using: Build: Firefox for Android 38.0a1 (2015-02-04) Device: Alcatel One Touch (Android 4.1.2)
Updated•10 years ago
|
Updated•6 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•