Closed Bug 296844 Opened 20 years ago Closed 19 years ago

Translate Page feature stops working when extensions are installed

Categories

(SeaMonkey :: General, defect)

1.7 Branch
x86
OS/2
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: stevew, Unassigned)

Details

The Flashblock extension adds the following entries to chrome.rdf: <RDF:Seq RDF:about="urn:mozilla:locale:root"> <RDF:li RDF:resource="urn:mozilla:locale:en-US"/> <RDF:li RDF:resource="urn:mozilla:locale:it-IT"/> <RDF:li RDF:resource="urn:mozilla:locale:nl-NL"/> <RDF:li RDF:resource="urn:mozilla:locale:de-DE"/> <RDF:li RDF:resource="urn:mozilla:locale:fr-FR"/> <RDF:li RDF:resource="urn:mozilla:locale:pl-PL"/> <RDF:li RDF:resource="urn:mozilla:locale:ko-KR"/> <RDF:li RDF:resource="urn:mozilla:locale:pt-BR"/> <RDF:li RDF:resource="urn:mozilla:locale:da-DK"/> <RDF:li RDF:resource="urn:mozilla:locale:hu-HU"/> <RDF:li RDF:resource="urn:mozilla:locale:cs-CZ"/> <RDF:li RDF:resource="urn:mozilla:locale:es-ES"/> <RDF:li RDF:resource="urn:mozilla:locale:ru-RU"/> <RDF:li RDF:resource="urn:mozilla:locale:ro-RO"/> <RDF:li RDF:resource="urn:mozilla:locale:de-AT"/> </RDF:Seq> This clutters up the installed language packs listing with many (needs update) entries on all platforms. However, it also causes the Translate Page feature to stop working on Mozilla 1.7.8 on OS/2. This problem does NOT occur with 1.7.8 on WinXP.
Also occurs in 1.8b2 as well.
I have no idea how that could be OS/2 specific...
I don't see this on Linux, either. To reproduce I just copied the lines Steve listed in front of the </RDF:RDF> in chrome/chrome.rdf in the profile. When I tried on OS/2 on the weekend there was an error in the JS console that made me believe that it needed to load a locale but could't decide which one to take. Will try to dig that up tonight.
The message I get on the trunk is Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIPrefBranch.getComplexValue]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://navigator/content/navigator.js :: Translate :: line 838" data: no] which points to var service = pref.getComplexValue("browser.translation.service", Components.interfaces.nsIPrefLocalizedString).data; (2nd line) in navigator.js.
Steve, do you still see this? I just installed flashblock again (version 1.3.2) and finally wanted to take a closer look. And I still see the "(needs update)" rubbish in the prefs but translate page works fine with various pages I tried. This was with SeaMonkey 20050808. I see several changes in navigator.js and related files since beginning of June but none that have to do with this issue. Anyway, I vote for marking this WFM now.
Works for me with Rich Walsh's build of 1.8b2 Gecko/20050622. I'm not sure which build of 1.8b2 Andy was testing with (obviously an earlier one). The bug was opened against the 1.7 branch, so I suppose I should test 1.7.11 too.
Works for me in 1.7.11 as well.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.