Closed Bug 437292 Opened 16 years ago Closed 16 years ago

'Set as desktop background' not working in Ubuntu 8.04 and Fedora 8

Categories

(Firefox :: Shell Integration, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 421977

People

(Reporter: dholbert, Unassigned)

References

()

Details

Steps to reproduce:
1. Load an image in Firefox 3, e.g. http://www.mozilla.com/img/firefox-title.png
2. Right-click image, and choose "Set As Desktop Background..."
3. Leave default values in the dialog that appears, and click "Set Desktop Background".

EXPECTED BEHAVIOR:  Dialog disappears, and background changes.
ACTUAL BEHAVIOR:  Dialog stays there, and background remains unchanged.

I'm testing using FF3rc1 on Ubuntu 8.04.

In IRC, walters confirmed this bug, using Fedora 8 and a recent Firefox trunk build.
Summary: 'Set as desktop background' not working in Ubuntu 8.04 → 'Set as desktop background' not working in Ubuntu 8.04 and Fedora 8
Flags: blocking1.9.0.1?
When I try this in a debug build, I get this error message right when the "Set Desktop Background" dialog appears:

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]
(In reply to comment #1)
> When I try this in a debug build, I get this error message right when the "Set
> Desktop Background" dialog appears:

sorry, ignore the "When I try this in a debug build" -- I get the error message in optimized builds as well.  (in the JS Error Console)
Additionally, the "Preview" in the Set Desktop Background dialog just shows a blank gray screen on the tiny monitor.
Setting desktop background seems to work with my own x86_64 build on
64bit Fedora 7/Gnome .
FWIW, my libgnome2-0 package (in Ubuntu 8.04) is 2.22.0-0ubuntu1
I guess it's bug 421977

Try running:
gconftool-2  /desktop/gnome/background/primary_color --type=string --set "#f00" 

Then you should be able to change the background.
(In reply to comment #6)
> Try running:
> gconftool-2  /desktop/gnome/background/primary_color --type=string --set "#f00" 
> 
> Then you should be able to change the background.

Yup, that does indeed fix it.

The original value was "#8f8f4a4a1c1c".  And if I restore that value, then setting background breaks again.
Depends on: 421977
Flags: wanted1.9.0.x?
Flags: blocking1.9.0.1?
Flags: blocking1.9.0.1-
Flags: wanted1.9.0.x?
Flags: wanted1.9.0.x+
Flags: wanted-firefox3.1?
Status: NEW → RESOLVED
Closed: 16 years ago
No longer depends on: 421977
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.