Closed
Bug 824156
Opened 12 years ago
Closed 11 years ago
[B2G] [Video] Video will be stopped from playing when alarm goes off.
Categories
(Firefox OS Graveyard :: Gaia::Video, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: mbyrd, Unassigned)
Details
(Whiteboard: testrun 5.1)
Perquisites:
1.Have a video available to play from the video app that is at least 3 minutes in length.
2. Have an alarm set to sound with in the next 2 mins during playing the video
Steps to Reproduce: When playing video from the video player app, and an alarm set up previously goes off the video is stopped. See test case #5848 Step 5. When reach the alarm time
Then hear the alarm and the video will be mute
Steps to Reproduce:
1) Install Build 201212170202 on an Unagi Device
2) Select Video app
3) Verify a working video of at least 3 minutes is available
4) Select Clock app
5) Verify an alarm will go off within the time length of video
6) Play video
7) Wait for alarm to sound
Actual Results:
When alarm sounds the video currently playing is stopped and must select to resume playing
Expected Results:
hear the alarm and the video will be mute
Repro frequency:
Repros 10/10 times
Comment 1•12 years ago
|
||
It looks like an issue of Video App. I'm not sure the expected results which is wanted by UX. We need UX to confirm the behavior for Video app.
Josh,
Could you help to figure out the owner who designs for Video app.
And I think Video App will need to handle 'mozinterruptbegin' or 'mozvisibilitychange' event when alarm goes off during video playback.
Component: Gaia::Clock → Gaia::Video
Flags: needinfo?(jcarpenter)
OS: Windows 7 → Gonk (Firefox OS)
QA Contact: jshih → mozillamarcia.knous
Hardware: x86_64 → ARM
Summary: [B2G] [Clock] Alarm : Alarm clock going off will stop video from playing not mute it → [B2G] [Video] Video will be stopped from playing when alarm goes off.
Comment 2•12 years ago
|
||
AFAIK, the video app is designed to 'Stops when falling into background'. Since attention screen makes it fall into background, stopping the video is an expected behavior.
Reporter | ||
Updated•12 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Comment 3•12 years ago
|
||
(In reply to Alive Kuo [:alive] from comment #2)
> AFAIK, the video app is designed to 'Stops when falling into background'.
> Since attention screen makes it fall into background, stopping the video is
> an expected behavior.
Ideally we should pause the active video, not stop it. The user must then manually un-pause the video once the app is back in the foreground.
Flags: needinfo?(jcarpenter)
Reporter | ||
Comment 4•12 years ago
|
||
I am changing the status on this bug. I see conflicting responses. I will keep it open until a definitive answer is found.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: WORKSFORME → ---
Reporter | ||
Comment 5•12 years ago
|
||
This issue repros in build #20121231070201
Reporter | ||
Comment 6•12 years ago
|
||
This issue repros in Ungia, build 20130104070203 v.1.0, the video is stopped when alarm sounds
UCID: clock-000
https://moztrap.mozilla.org/results/case/61290/
Whiteboard: testrun 2
Issue occurs in Unagi build 20130115070201 with December 5th kernel.
Comment 9•12 years ago
|
||
the video is still being stopped and returns user to Video Gallery when the alarm goes off. Unagi, build 20130125070201
Updated•12 years ago
|
Whiteboard: testrun 2 → testrun 2, testrun 3
Comment 10•12 years ago
|
||
the video is still being stopped and returns user to Video Gallery when the alarm goes off. Unagi, build 20130130070201
UCID: clock-000
TC#: 5848
https://moztrap.mozilla.org/runtests/run/712/env/296/?pagenumber=1&pagesize=20&sortfield=order&sortdirection=asc&filter-id=5848
Whiteboard: testrun 2, testrun 3 → testrun 4
Comment 11•12 years ago
|
||
Video turns off when alarm goes off. Once alarm has been accepted or snoozed it brings you back to the listing of videos instead of video resuming where left off.
Build ID 20130221070203
Kernel Date: Dec 5
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/effe37a77f18
Comment 12•12 years ago
|
||
Issue repros
Unagi Build ID: 20130225070200
Kernel Date: Dec 5
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/3a5a27992a75
Gaia: 5691a16fff8e1403c75ed9d6f3a443b7e58198c6
Video turns off when alarm goes off. Once alarm has been accepted or snoozed it brings you back to the listing of videos instead of video resuming where left off.
Whiteboard: testrun 5 → testrun 5.1
Comment 13•12 years ago
|
||
in reference of comment 12 additional information: correct test case link: https://moztrap.mozilla.org/manage/cases/?pagenumber=1&pagesize=20&sortfield=created_on&sortdirection=desc&filter-id=5848
Comment 14•11 years ago
|
||
When repeating the test on a buri, I find that the video resumes playing when the alarm is dismissed. I'm assuming the change in behavior is intentional. John, can you comment on this bug?
Below is the build I tested:
Gaia 63cc8ffd6f2acdce14eb8285e8822ebe62fcab41
Gecko http://hg.mozilla.org/releases/mozilla-aurora/rev/37ec3c7fb511
BuildID 20140120004002
Version 28.0a2
Flags: needinfo?(johu)
Comment 15•11 years ago
|
||
Russ,
No, that's not intentional.
We pause the video playing when we receive a visibility change event. But we don't resume it but just restore it when we go back to video app.
I keep needinfo flag to wait me to check the code in this version.
Comment 16•11 years ago
|
||
I had checked the code. We don't have any change to 1.3 since a month ago. The code is still as expected. I never did any tests on this. But I believe that it's not caused by video app.
Flags: needinfo?(johu)
Comment 17•11 years ago
|
||
I will install a build into my device and test this scenario.
Comment 18•11 years ago
|
||
Russ,
I cannot reproduce what you said in comment 14 with Inari v1.3 20140120004002. It works as expected and the video is still paused when the alarm goes off. But there is an exception that System app sends visibilitychange when the alarm window shows for 3 seconds. Within these 3 secs, if user close the alarm window, the video app still plays the video.
Comment 19•11 years ago
|
||
Russ,
Do we still have this issue? I feel this is related to window manager of system app. It controls the visibility of each apps that affects video app a lot.
Flags: needinfo?(rnicoletti)
Comment 20•11 years ago
|
||
I don't see any issue. The video is paused when the alarm goes off (for more than three seconds). From what I can tell it works the way Josh Carpenter [:jcarpenter] (comment #3) says it should.
Flags: needinfo?(rnicoletti)
Comment 21•11 years ago
|
||
Adding needinfo for John to decide how to proceed with this bug.
Flags: needinfo?(johu)
Comment 22•11 years ago
|
||
Russ,
Ok, cool. We all can confirm this. I make this bug as WORKSFORME.
If somebody can reproduce it, please reopen it.
Status: REOPENED → RESOLVED
Closed: 12 years ago → 11 years ago
Flags: needinfo?(johu)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•