Open Bug 1671032 Opened 4 years ago Updated 3 years ago

White flash on youtube while it is loading

Categories

(Firefox :: Theme, enhancement)

Firefox 83
x86_64
Linux
enhancement

Tracking

()

83 Branch
Tracking Status
firefox83 --- affected

People

(Reporter: sk.griffinix, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0

Steps to reproduce:

  1. Set dark firefox theme
  2. Go to www.youtube.com and set dark theme for the site
  3. Close tab and open youtube in new tab

Actual results:

Page shows a white flash while loading which then turns dark

Expected results:

White flash should not have occured. Site should have had dark background from start. Blink based browsers do not have this problem

I was able to reproduce this issue on my machine Ubuntu 18x64 and Win 10x64 with Nightly 83.0a1(2020-10-18) (64-bit) but is reproducible on chrome too.

Status: UNCONFIRMED → NEW
Component: Untriaged → Graphics: WebRender
Ever confirmed: true
Product: Firefox → Core
Target Milestone: --- → 83 Branch

Not a WebRender bug.

Creating ui.systemUsesDarkTheme = 1 on about:config allows to set dark theme by default (bug 1641421).
I see the same behavior with Chrome Dev on Gnome XWayland, Debian Testing:
$ google-chrome-unstable --force-dark-mode https://www.youtube.com
White for a tiny moment, then dark.

If there is something that could be improved, it would likely be done as part of bug 1641179, I assume.

Blocks: dark-mode
Type: defect → enhancement
Component: Graphics: WebRender → Theme
OS: Unspecified → Linux
Product: Core → Firefox
Hardware: Unspecified → x86_64

(In reply to Darkspirit from comment #2)

Not a WebRender bug.

Creating ui.systemUsesDarkTheme = 1 on about:config allows to set dark theme by default (bug 1641421).
I see the same behavior with Chrome Dev on Gnome XWayland, Debian Testing:
$ google-chrome-unstable --force-dark-mode https://www.youtube.com
White for a tiny moment, then dark.

If there is something that could be improved, it would likely be done as part of bug 1641179, I assume.

Its strange vivaldi behaves different to chrome. Does the same white flash happen in chrome when youtube.com is explicitly set to dark theme rather than system default?

(In reply to Leo_sk from comment #3)

Does the same white flash happen in chrome when youtube.com is explicitly set to dark theme rather than system default?

Conditions:
System: (apparently) a light theme.
YouTube: manually set to dark in the top-right 3 dot menu.

Chrome Dev test:
Yes, YouTube is white for a tiny fraction of a second before turning dark. The flash does not occur when pressing F5 or Ctrl F5, but when loading additional YouTube tabs.

Well, I guess it would be an enhancement then. Not much of big deal and can be solved by using dark reader, but irritating nonetheless. I still wonder what vivaldi does different

I don't what changed, but it is fixed in nightly 84.0a1 (2020-10-31)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: