Closed
Bug 1386712
Opened 7 years ago
Closed 7 years ago
[geckoview] Media continues playing in Custom Tab after closed
Categories
(GeckoView :: Media, defect)
GeckoView
Media
Tracking
(firefox58 fixed)
RESOLVED
FIXED
mozilla58
Tracking | Status | |
---|---|---|
firefox58 | --- | fixed |
People
(Reporter: snorp, Assigned: droeh)
References
Details
Attachments
(1 file)
1.38 KB,
patch
|
snorp
:
review+
|
Details | Diff | Splinter Review |
If I open a page that plays video in a custom tab, then back out of the custom tab, I still hear the audio playing.
Updated•7 years ago
|
Assignee: nobody → nchen
Status: NEW → ASSIGNED
Comment 1•7 years ago
|
||
I see this on a Galaxy S7, but on a Nexus 5X it appears to work fine.
Reporter | ||
Updated•7 years ago
|
Priority: -- → P1
Comment 3•7 years ago
|
||
Sorina, Can you please test and see if this is reproducible on different devices.
Flags: needinfo?(sorina.florean)
Comment 4•7 years ago
|
||
Tested on following devices: - Huawei Honor (Android 5.1.1), - Motorola Nexus 6 (Android 7.1.1); - Oneplus Two (Android 6.0.1); Opened a video, closed from "x" button - toolbar and I can hear the video for 1 sec. If the video is closed from device back button, I'm not hearing the sound.
Flags: needinfo?(sorina.florean)
Comment 5•7 years ago
|
||
I think it's okay if we hear the video for only 1 sec?
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Comment 6•7 years ago
|
||
I think this has the potential to be a bit annoying for users, and there's a simple enough workaround for the time being: just load about:blank in CustomTabsActivity.finish() to stop media playback immediately. I'm investigating at the moment if it's a broader issue that will affect GV consumers, in which case we may want to do something a bit nicer.
Assignee: nchen → droeh
Status: RESOLVED → REOPENED
Attachment #8909965 -
Flags: review?(snorp)
Resolution: WORKSFORME → ---
Reporter | ||
Comment 7•7 years ago
|
||
Comment on attachment 8909965 [details] [diff] [review] Quick workaround Review of attachment 8909965 [details] [diff] [review]: ----------------------------------------------------------------- I really think we need to find another way to fix this...
Attachment #8909965 -
Flags: review?(snorp) → review+
Assignee | ||
Comment 8•7 years ago
|
||
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) from comment #7) > Comment on attachment 8909965 [details] [diff] [review] > Quick workaround > > Review of attachment 8909965 [details] [diff] [review]: > ----------------------------------------------------------------- > > I really think we need to find another way to fix this... Yeah, I'm still looking into the crash we see if we implement the destroy/release API we talked about for GeckoView; when I've got that figured out hopefully we can uplift it and get rid of this.
Pushed by droeh@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/c86578718e19 Load about:blank in CustomTabsActivity.finish() to immediately stop media playback. r=snorp
Comment 10•7 years ago
|
||
Pushed by droeh@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/fdffa3d29768 Add null-checking to fix test bustage. r=me
![]() |
||
Comment 11•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/c86578718e19 https://hg.mozilla.org/mozilla-central/rev/fdffa3d29768
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Updated•6 years ago
|
Product: Firefox for Android → GeckoView
Updated•6 years ago
|
Target Milestone: Firefox 58 → mozilla58
Comment 12•2 years ago
|
||
Moving some media bugs to the new GeckoView::Media component.
Component: General → Media
You need to log in
before you can comment on or make changes to this bug.
Description
•