Closed Bug 1387737 Opened 7 years ago Closed 7 years ago

Regression: Changing theme breaks default theme

Categories

(Firefox :: Theme, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 57
Tracking Status
firefox-esr52 --- unaffected
firefox55 --- unaffected
firefox56 --- unaffected
firefox57 --- verified

People

(Reporter: soeren.hentzschel, Assigned: ntim)

References

Details

(Keywords: regression)

Attachments

(2 files)

Attached video bug (deleted) —
STR:

1. enable another theme in add-on mananger
2. switch back to default theme

expected:

The default theme is applied again.

actual result:

the default theme does not look like the default theme.

Please see the attached screencast.
Can someone try finding the regression window with mozregression, please?
Flags: qe-verify+
(In reply to Johann Hofmann [:johannh] from comment #4)
> Can someone try finding the regression window with mozregression, please?

Will look into it...
Have to say that the theme which is born from "Default > Dark > Default" doesn't look bad.
mozregression points to https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=4cfb674227051e22bab651e5759f3de503a50560&tochange=a9182f92641b24d0a972886aed27e784004a343f which makes me suspect bug 1342712. Tim?
Blocks: 1342712
Flags: needinfo?(ntim.bugs)
Confirmed that this broke in bug 1342712.
Has Regression Range: --- → yes
Has STR: --- → yes
Assignee: nobody → ntim.bugs
Flags: needinfo?(ntim.bugs)
The issue is pretty straightforward:

When switching back to the default theme, aData and parsedData are null. So the check for parsedData.window throws.
Comment on attachment 8894466 [details]
Bug 1387737 - Fix switching back to the default theme.

https://reviewboard.mozilla.org/r/165642/#review170722
Attachment #8894466 - Flags: review?(gijskruitbosch+bugs) → review+
Pushed by ntim.bugs@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/864b3a48a8f8
Fix switching back to the default theme. r=Gijs
Pushed by kwierso@gmail.com:
https://hg.mozilla.org/mozilla-central/rev/fde1450a4368
Fix switching back to the default theme. r=Gijs a=merge
https://hg.mozilla.org/mozilla-central/rev/fde1450a4368
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
https://hg.mozilla.org/mozilla-central/rev/864b3a48a8f8
Fixed on latest Nightly.
Status: RESOLVED → VERIFIED
Managed to reproduce the issue on an affected build (Firefox 57.0a1), using the steps to reproduce from Comment 0, on Windows 10 X 64 bit. Hence the bug-1387737 is fixed & verified.
build ID: 20170809100326
[bugday-20170809]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: