Closed
Bug 246031
Opened 20 years ago
Closed 19 years ago
theme manager looks like extension manager if theme's contents.rdf doesn't contain chrome:name
Categories
(Toolkit :: Add-ons Manager, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: steffen.wilberg, Assigned: bugs)
Details
Just tested Arvid's standalone Qute. His contents.rdf didn't contain chrome:name. The result was that the theme manager had no themePreviewArea. The js console displays: Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXULChromeRegistry.getSelectedSkin]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://mozapps/content/extensions/extensions.js :: Startup :: line 85" data: no] context: if (!isExtensions) { gExtensionsView.addEventListener("richview-select", onThemeSelect, false); var cr = Components.classes["@mozilla.org/chrome/chrome-registry;1"] .getService(Components.interfaces.nsIXULChromeRegistry); gCurrentTheme = cr.getSelectedSkin("global"); var useThemeButton = document.getElementById("useThemeButton"); useThemeButton.hidden = false; } line 85 is this one: gCurrentTheme = cr.getSelectedSkin("global"); We might want to reject installation of broken themes. Besides that, Qute works normally though.
Reporter | ||
Comment 1•20 years ago
|
||
Tested with the 0.9 RC: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608 Firefox/0.8.0+
Comment 2•20 years ago
|
||
Also, the button Use Theme is missing and the title says Extensions. On a more serious notice, upon changing theme, all opened tabs are blanked and all history is wiped from each tab. Anyone knows the bug number for that?
Severity: minor → normal
Reporter | ||
Comment 3•20 years ago
|
||
You're right, it has the appearance of the extension manager. The theme switching bug is bug 245327.
Summary: no themePreviewArea if theme's contents.rdf doesn't contain chrome:name → theme manager looks like extension manager if theme's contents.rdf doesn't contain chrome:name
Comment 4•19 years ago
|
||
*** Bug 306724 has been marked as a duplicate of this bug. ***
Comment 5•19 years ago
|
||
Is this still a problem with 1.5?
Reporter | ||
Comment 6•19 years ago
|
||
WFM with Firefox 1.5.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•