Open Bug 297841 Opened 20 years ago Updated 1 year ago

nsIShellService fails on non Gnome systems

Categories

(Firefox :: Shell Integration, defect)

x86
Linux
defect

Tracking

()

People

(Reporter: whimboo, Unassigned)

Details

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050614 Firefox/1.0+ Open the preferences panel and select Check now in the general tab. You will see this error message: Error: uncaught exception: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://browser/content/preferences/general.js :: anonymous :: line 111" data: no]
Summary: Javascript excepion in chrome://browser/content/preferences/general.js when checking for default browser → Javascript exception in chrome://browser/content/preferences/general.js when checking for default browser
Ok, getService() fails during init() of nsIShellService on non Gnome systems (here KDE). The implementation for Gnome was done in bug 242254. I know that only Gnome is supported. So other desktop managers shouldn't support this service. Currently HAVE_SHELL_SERVICE is defined in http://lxr.mozilla.org/mozilla/source/browser/components/preferences/Makefile.in#47 http://lxr.mozilla.org/mozilla/source/browser/base/Makefile.in#56 On both places it should be disabled.
Summary: Javascript exception in chrome://browser/content/preferences/general.js when checking for default browser → nsIShellService fails on non Gnome systems
About KDE, is there any chance to see this fixed? KDE is as popular as Gnome and is available in most (all?) distros.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.