Closed Bug 1855508 Opened 1 year ago Closed 1 year ago

Firefox flashes the background color on expanding video to full screen

Categories

(Core :: Audio/Video: Playback, defect)

Firefox 119
defect

Tracking

()

RESOLVED DUPLICATE of bug 1861864

People

(Reporter: rivaavir3, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0

Steps to reproduce:

  1. Go to about:config
  2. Set "full-screen-api.transition-duration.enter" to "0 0"
  3. Set "full-screen-api.transition-duration.leave" to "0 0"
  4. Open any Youtube video
  5. Click "Full screen"

Actual results:

Firefox flashes the background color for several frames
Example: https://www.youtube.com/watch?v=4KFob5UpiWc

Firefox Dev Edition 119.0b1

Expected results:

Firefox doesn't flash
Example: https://youtu.be/Bq6-hmSE_HI

Firefox 118.0

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

Which background color are we talking about here? I get a black screen with a transition to video, which seams correct.

Flags: needinfo?(rivaavir3)

(In reply to Jim Mathies [:jimm] from comment #2)

Which background color are we talking about here? I get a black screen with a transition to video, which seams correct.

Look at steps to reproduce. If you set full-screen-api.transition-duration.enter and full-screen-api.transition-duration.leave to "0 0" you can spot it.

Flags: needinfo?(rivaavir3)

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jmathies)

I'm seeing the same after updating to v119. "Background color" is the color that you see on a new tab page - depends on the theme. I also have full-screen-api.transition-duration.enter and full-screen-api.transition-duration.leave set to 0 0.
Ran mozregression with those two config settings, tested by opening a YouTube video and quickly entering/leaving fullscreen. On good builds it only switches between showing the page with the video, and showing fullscreen video; on bad builds there's often a full white screen inbetween. Narrowed it down to this: https://phabricator.services.mozilla.com/D185643

Got fixed in 120.0; same bug was reported in https://bugzilla.mozilla.org/show_bug.cgi?id=1861864

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1847584
Flags: needinfo?(jmathies)
Resolution: --- → DUPLICATE

I'm guessing this was meant to be a dupe of 1861864

Duplicate of bug: 1861864
No longer duplicate of bug: 1847584
You need to log in before you can comment on or make changes to this bug.