Closed Bug 1861616 Opened 2 years ago Closed 1 year ago

Background media playing stops after closing the custom tab or opening the custom tab in Fenix

Categories

(Firefox for Android :: General, defect)

Firefox 120
All
Android
defect

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox119 --- wontfix
firefox120 --- wontfix
firefox121 --- wontfix
firefox122 --- fixed
firefox123 --- fixed

People

(Reporter: killercontact1.7.4.0, Assigned: towhite)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid] [qa-triaged])

Attachments

(2 files)

Steps to reproduce:

Has been reproducible for at least 1-2 years.

Galaxy A71 on Fenix Beta 120.0b2 2015981850, also on Nightly.

Fenix set as default browser so it is invoked for Custom Tabs in Android
In Fenix, load any stream that normally keeps on playing in the background, such as an internet radio
Use any app that uses Custom Tabs to load a page
Close the Custom Tab either with the X button or with a back gesture.

Actual results:

The background media stops when the custom tab closes.

Expected results:

Background media remains unaffected.

Confirming this issue is reproducible on the latest Firefox for Android Versions. The media player (I used rockfm.ro) is paused when closing the custom tab.
The media player is also paused when opening the custom tab in Fenix (open the 3-dot menu from from the custom tab toolbar > tap on "Open in Firefox").
Reproducible on:

  • Nightly 121.0a1
  • Beta 120.0b2
  • RC 119.0
    Tested with:
  • Samsung Galaxy A53 5G (Android 13)
  • Xiaomi Redmi Note 8T (Android 11)
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: After closing the custom tab, background media playing stops → Background media playing stops after closing the custom tab or opening the custom tab in Fenix
Whiteboard: [qa-triaged]
No longer blocks: custom-tabs-refresh
Whiteboard: [qa-triaged] → [fxdroid] [qa-triaged]
Assignee: nobody → towhite
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

The patch landed in nightly and beta is affected.
:towhite, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox122 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(towhite)

Comment on attachment 9373028 [details] [review]
[mozilla-mobile/firefox-android] Bug 1861616 - Prevent Custom Tabs from stopping background media (backport #5143) (#5183)

Beta/Release Uplift Approval Request

  • User impact if declined: User may experience background media being stopped if a custom tab is closed
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): The condition to stop the media is now gated based on the Activity which is always known
  • String changes made/needed:
  • Is Android affected?: No
Flags: needinfo?(towhite)
Attachment #9373028 - Flags: approval-mozilla-beta?
Comment on attachment 9373028 [details] [review] [mozilla-mobile/firefox-android] Bug 1861616 - Prevent Custom Tabs from stopping background media (backport #5143) (#5183) Fx122 is now in RC, switching request from beta to release
Attachment #9373028 - Flags: approval-mozilla-beta? → approval-mozilla-release?

Confirmed fixed on Samsung OneUI 5.1 Android 13. Thank you

Comment on attachment 9373028 [details] [review] [mozilla-mobile/firefox-android] Bug 1861616 - Prevent Custom Tabs from stopping background media (backport #5143) (#5183) Approved for Fenix 122.0 RC2
Attachment #9373028 - Flags: approval-mozilla-release? → approval-mozilla-release+
See Also: → 1852224
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: