Bug#495897: iceweasel: Set as desktop background dialog throws exception

2008-10-18 Thread Mike Hommey
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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#495897: iceweasel: Set as desktop background dialog throws exception

2008-08-21 Thread Brian Marshall
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]

No background color is set and the image doesn't appear in the preview.
Manually choosing a color and re-selecting an image position seems to
restore the dialog's functionality, but the background color will always
be black when the dialog is opened again.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iceweasel depends on:
ii  debianutils   2.30   Miscellaneous utilities specific t
ii  fontconfig2.6.0-1generic font configuration library
ii  libc6 2.7-13 GNU C Library: Shared libraries
ii  libglib2.0-0  2.16.5-1   The GLib library of C routines
ii  libgtk2.0-0   2.12.11-3  The GTK+ graphical user interface 
ii  libnspr4-0d   4.7.1-3NetScape Portable Runtime Library
ii  libstdc++64.3.1-9The GNU Standard C++ Library v3
ii  procps1:3.2.7-9  /proc file system utilities
ii  psmisc22.6-1 Utilities that use the proc filesy
ii  xulrunner-1.9 1.9.0.1-1  XUL + XPCOM application runner

iceweasel recommends no packages.

Versions of packages iceweasel suggests:
pn  latex-xft-fonts   none (no description available)
ii  libkrb53  1.6.dfsg.4~beta1-3 MIT Kerberos runtime libraries
pn  mozpluggernone (no description available)
pn  ttf-mathematica4.1none (no description available)
pn  xfonts-mathml none (no description available)
pn  xprintnone (no description available)
ii  xulrunner-1.9-gnome-s 1.9.0.1-1  Support for GNOME in xulrunner app

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]