Bug#495897: iceweasel: "Set as desktop background" dialog throws exception
Mike Hommey
mh at glandium.org
Sat Oct 18 12:54:49 UTC 2008
On Thu, Aug 21, 2008 at 12:43:24AM -0700, Brian Marshall wrote:
> Package: iceweasel
> Version: 3.0.1-1
> Severity: normal
>
> After selecting "set as desktop background" on an image, this exception
> is shown in the error console:
>
> Error: uncaught exception: [Exception... "Component returned failure code:
> 0x80004005 (NS_ERROR_FAILURE) [nsIShellService.desktopBackgroundColor]"
> nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
> chrome://browser/content/setDesktopBackground.js :: anonymous :: line 56"
> data: no]
The reason for this exception is interesting:
The mozilla gnome shell service handles 3 and 6 "digits" long colors (such as
#ccc or #c0c0c0), but it appears that, at least on my desktop, the value
is longer than that:
$ gconftool --get /desktop/gnome/background/primary_color
#767684848f8f
The exception prevents the rest of setDesktopBackground.js to run, which
explains the dialog doesn't work properly.
If I change the /desktop/gnome/background/primary_color key to be of
expected length, the dialog works again (except that the default picked
color is apparently wrong, but I haven't checked if it was intended).
All in all, this looks like something else did set a b0rked
primary_color. After some tries, it looks like
gnome-appearance-properties is responsible for this.
pkg-gnome people, is that intended, or is that a bug?
Mike
More information about the pkg-gnome-maintainers
mailing list