Closed Bug 879994 Opened 12 years ago Closed 12 years ago

LightweightThemeManager should allow lightweight themes to be temporarily disabled

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jaws, Assigned: jaws)

References

(Blocks 1 open bug)

Details

(Whiteboard: [Australis:M7][fixed-in-ux])

Attachments

(1 file, 2 obsolete files)

There may be times where a lightweight theme can be temporarily disabled, for example when entering customization mode.
Attached patch Patch (obsolete) — Splinter Review
Attachment #758872 - Flags: review?(bmcbride)
Blocks: 870602
Comment on attachment 758872 [details] [diff] [review] Patch Review of attachment 758872 [details] [diff] [review]: ----------------------------------------------------------------- So... how do you plan on re-enabling? Also: tests, plzkthx.
Attachment #758872 - Flags: review?(bmcbride) → review-
The theme can be re-enabled by calling LightweightThemeManager.themeChanged(LightweightThemeManager.currentTheme);
Yea, but that's non-obvious. It also does a lot of extra stuff. I'd rather have a dedicated API function to undo what temporarilyDisableTheme does (even if its just making that accept a boolean toggle parameter).
Attached patch Patch v2 with tests (obsolete) — Splinter Review
Attachment #758872 - Attachment is obsolete: true
Attachment #759580 - Flags: review?(bmcbride)
Attachment #759580 - Flags: review?(bmcbride)
Attachment #759580 - Attachment is obsolete: true
Attachment #759833 - Flags: review?(bmcbride)
Attachment #759833 - Flags: review?(bmcbride) → review+
Whiteboard: [Australis:M?] → [Australis:M7][fixed-in-ux]
This was backed out in favour of the fix in bug 885066. https://hg.mozilla.org/projects/ux/rev/81ef9027114f Given that bug and its resolution, I guess this one should be marked WONTFIX.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: