Open Bug 1510567 Opened 6 years ago Updated 2 years ago

about:newtab/about:home renders before the correct theme is applied (producing a white flash for dark theme)

Categories

(WebExtensions :: Themes, defect, P5)

65 Branch
defect

Tracking

(Not tracked)

People

(Reporter: ke5trel, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Attached image newtab-theme-delay.png (deleted) —
STR:
1. Enable dark theme.
2. Rapidly create new tabs and observe.
3. Add a breakpoint in contentTheme.js.

The new tab page is rendered with the default theme and only updates to the correct theme after receiving the event LightweightTheme:Set. This may happen fast enough that it is not noticeable but any delay will cause a bright white flash with the dark theme.
Priority: -- → P5

If the new tab page respected the dark color scheme (Bug 1546540), it could be applied immediately without having to wait for the theme which would eliminate white flashes.

Depends on: 1546540

This is much more noticeable with about:home since it is not preloaded like about:newtab.

Summary: about:newtab renders before the correct theme is applied (producing a white flash for dark theme) → about:newtab/about:home renders before the correct theme is applied (producing a white flash for dark theme)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: