Closed Bug 1786258 Opened 2 years ago Closed 2 years ago

PiP Subtitles Freeze - macOS Mojave

Categories

(Toolkit :: Picture-in-Picture, defect)

Firefox 103
Desktop
macOS
defect

Tracking

()

VERIFIED FIXED
112 Branch
Tracking Status
firefox-esr102 --- wontfix
firefox109 --- wontfix
firefox110 --- wontfix
firefox111 --- wontfix
firefox112 --- verified
firefox113 --- verified

People

(Reporter: js.rattlesnake, Assigned: kpatenio)

References

Details

(Whiteboard: [fidefe-pip3] )

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:103.0) Gecko/20100101 Firefox/103.0

Steps to reproduce:

Device: macOS Mojave 10.14.6
Firefox build: 103.0.2

  1. Open Firefox
  2. Go to youtube.com and play any videos with subtitles.
  3. Turn on Subtitles/Closed Caption.
  4. Activate Firefox PiP (Picture-in-Picture) mode.
  5. Press Command+M to minimize the window
  6. Notice how the subtitles are not updated as the video continues to play.

Actual results:

Device: macOS Mojave 10.14.6
Firefox build: 103.0.2

Subtitles in PiP mode freeze when the window is minimized (by pressing Command+M).

Expected results:

Device: macOS Mojave 10.14.6
Firefox build: 103.0.2

Subtitles in PiP mode should not be frozen when the window is minimized.

The Bugbug bot thinks this bug should belong to the 'Toolkit::Picture-in-Picture' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Picture-in-Picture
Product: Firefox → Toolkit
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
Whiteboard: [fidefe-pip3]
Severity: -- → S3
Status: RESOLVED → REOPENED
No longer duplicate of bug: 1770429
Ever confirmed: true
Resolution: DUPLICATE → ---

Bug 1770429 partially fixes the observed behaviour (see comment 14). Reopening this ticket for MacOS.

Severity: S3 → S2
OS: Unspecified → macOS
Hardware: Unspecified → Desktop

I've moved the dependency and severity from the partially fixed bug. Please remove if incorrect.

Depends on: 1808748

Using MacOS 12.5.1, I tested 10 different sites varying from WebVTT supported ones to site-specific wrapper supported ones. For 7 of 10 videos, captions update as expected with a minimized MacOS video. The 3 sites without updated captions were from the following sites:

  1. youtube.com (example)
  2. khan academy (example)
  3. duckduckgo embedded videos (example)

All these videos have one thing in common: they use our YouTube wrapper. It appears that the captions container for youtube doesn't ever update when the window is minimized. This is despite AppWindow.browsingContext.forceAppWindowActive and AppWindow.browsingContext.isActive being set to true.

Will need to look more into how we can work around this constraint.

Assignee: nobody → kpatenio
Status: REOPENED → ASSIGNED

Hi Daniel, Bug 1768495 was recently fixed. With the latest version of Nightly (112.0a1), I now see subs update when the originating window is minimized for MacOS. Can you please verify if this has been fixed from your end?

Flags: needinfo?(daniel.bodea)

Yes, the issue appears NOT to reproduce anymore in the latest Nightly v112.0a1 in MacOS 11 and MacOS 12.

Flags: needinfo?(daniel.bodea)

Thanks Daniel. I'll go ahead and marked this as fixed.

I also just realized that I linked the wrong bug. The bug that fixes this issue is Bug 1768495.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago2 years ago
Depends on: 1768495
Resolution: --- → FIXED
Flags: qe-verify+

I can confirm this fix in Nightl v113.0a1 and Beta v112.0b5. Thank you.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.