Closed Bug 1206049 Opened 9 years ago Closed 6 years ago

Default theme getting marked as incompatible, breaking the default theme overrides and leading to broken browser appearance

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: ntim, Unassigned)

References

Details

Attachments

(5 files)

      No description provided.
Attached file about-support.txt
Attached file about-buildconfig.txt
Attached image safe-mode.PNG
Overrides work fine in safe mode (the profile only has MS .NET assistant as addon)
(In reply to Tim Nguyen [:ntim] from comment #0)
> Created attachment 8662902 [details]
> addon-manager-incompatibility-notice.png

Note that this *is* the default theme (there are no other themes installed) on the profile.
Note that resetting another affected profile fixed the issue.
Also, this is affecting a lot of profiles running on Windows XP on my school network. My personal copy of Nightly (which has a custom profile) isn't affected though.
(In reply to Tim Nguyen [:ntim] from comment #6)
> Also, this is affecting a lot of profiles running on Windows XP
Actually, some profiles are also affected on Windows 7.
It seems pretty straightforward that what's going on here is that the default theme is somehow marked as incompatible. That should never happen, and that it's happening is not a theme but an add-on manager bug, and the solution is going to involve figuring out why the ... the default theme is marked as incompatible.

Dave, can you suggest ways of figuring out *why* this is happening on the affected profiles?
Component: Theme → Add-ons Manager
Flags: needinfo?(dtownsend)
Product: Firefox → Toolkit
Summary: Theme overrides don't work on some profiles → Default theme getting marked as incompatible, breaking the default theme overrides and leading to broken browser appearance
(In reply to Tim Nguyen [:ntim] from comment #0)
> Created attachment 8662902 [details]
> addon-manager-incompatibility-notice.png

Something strange is going on here. This theme has version 2.0? That isn't the theme that ships with Firefox 40 so I'm not surprised it shows up as incompatible. That said, regardless of the compatibility information in the theme the default theme should always be usable: https://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/internal/XPIProvider.jsm#611.

What is the value of general.skins.selectedSkin in this profile (we should probably have that in about:support!)

Attaching a copy of extensions.json from the affected profile might be interesting.
Flags: needinfo?(dtownsend)
(In reply to Dave Townsend [:mossop] from comment #9)
> (In reply to Tim Nguyen [:ntim] from comment #0)
> > Created attachment 8662902 [details]
> > addon-manager-incompatibility-notice.png
> 
> Something strange is going on here. This theme has version 2.0? That isn't
> the theme that ships with Firefox 40 so I'm not surprised it shows up as
> incompatible. That said, regardless of the compatibility information in the
> theme the default theme should always be usable:
> https://dxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/
> internal/XPIProvider.jsm#611.
> 
> What is the value of general.skins.selectedSkin in this profile (we should
> probably have that in about:support!)
> 
> Attaching a copy of extensions.json from the affected profile might be
> interesting.
Flags: needinfo?(ntim.bugs)
See Also: → 1191468
Attached file extensions.json
general.skins.selectedSkin = classic/1.0
Flags: needinfo?(ntim.bugs)
(In reply to Tim Nguyen [:ntim] from comment #11)
> Created attachment 8665964 [details]
> extensions.json

This shows that you have a copy of the default theme installed in the profile, it is overriding the one shipped with the app and will be why everything seems broken.
(In reply to Dave Townsend [:mossop] from comment #12)
> (In reply to Tim Nguyen [:ntim] from comment #11)
> > Created attachment 8665964 [details]
> > extensions.json
> 
> This shows that you have a copy of the default theme installed in the
> profile, it is overriding the one shipped with the app and will be why
> everything seems broken.

Did we used to put it there in Firefox... 2.0 ? (cf. comment #9)
Maybe we should write a startup migration to get rid of these... all they're going to do is cause issues...
(In reply to :Gijs Kruitbosch from comment #13)
> (In reply to Dave Townsend [:mossop] from comment #12)
> > (In reply to Tim Nguyen [:ntim] from comment #11)
> > > Created attachment 8665964 [details]
> > > extensions.json
> > 
> > This shows that you have a copy of the default theme installed in the
> > profile, it is overriding the one shipped with the app and will be why
> > everything seems broken.
> 
> Did we used to put it there in Firefox... 2.0 ? (cf. comment #9)
> Maybe we should write a startup migration to get rid of these... all they're
> going to do is cause issues...

well, I guess more generally, nothing in the profile directory should be allowed to override the builtin default theme...
(In reply to :Gijs Kruitbosch from comment #13)
> (In reply to Dave Townsend [:mossop] from comment #12)
> > (In reply to Tim Nguyen [:ntim] from comment #11)
> > > Created attachment 8665964 [details]
> > > extensions.json
> > 
> > This shows that you have a copy of the default theme installed in the
> > profile, it is overriding the one shipped with the app and will be why
> > everything seems broken.
> 
> Did we used to put it there in Firefox... 2.0 ? (cf. comment #9)
> Maybe we should write a startup migration to get rid of these... all they're
> going to do is cause issues...

Not to my knowledge. If this were the case I think we'd have seen a lot of problems from it years ago. I have no idea how this profile ended up in this state.
In bug 1191468, it looks like the affected profile doesn't have the default theme installed.
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: