flickering when creating new windows with custom theme enabled

NEW
Unassigned

Status

()

Toolkit
WebExtensions: Frontend
P3
normal
2 months ago
7 days ago

People

(Reporter: glob, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(firefox59 affected)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 months ago
Created attachment 8935403 [details]
2017-12-07 22_19_07.mp4

59.0a1 (2017-12-07) (64-bit) on OSX

steps to reproduce:
1. install https://addons.mozilla.org/en-US/firefox/addon/quantum-lights-dynamic/
2. create a new window

expected result:
new window opened with theme already applied

actual result:
massive flickering.  see attached movie.

stepping through the frames it looks like the following is rendered:
1. solid aqua background (default for theme?)
2. my previous theme (https://addons.mozilla.org/en-US/firefox/addon/quantum-launch)
3. quantum-lights-dynamic
4. solid white background
5. quantum-lights-dynamic
This theme is using the Themes.update API after the window has been created to set the styles on the window. So I don't think we can 100% get rid of the flickering but we should be able to remove steps 4 and 5 from the list in comment #0.
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #1)
> This theme is using the Themes.update API after the window has been created
> to set the styles on the window.

Is it a bug of the theme or a problem with the provided theme API that these styles set by the theme on the window can't be applied before first paint?

Updated

11 days ago
Component: Theme → WebExtensions: Frontend
Product: Firefox → Toolkit

Updated

7 days ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.