GNOME Bugzilla – Bug 647604
Use Image as Background doesn't work in GNOME 3
Last modified: 2011-06-25 02:18:44 UTC
I'm using Epiphany 3.0.0 on Fedora 15 alpha. When I right click an image and choose Use Image as Background, Epiphany downloads the image to the ~/.gnome2/epiphany folder, but the background image I see on my desktop does not change.
I'm using a Frankenstein GNOME3 system right now, so I cannot really test this. I assume the mechanism to change the background image changed at some point.
Yes, I guess the mechanism must have changed. Turns out this is broken in Shotwell too: http://trac.yorba.org/ticket/3496
Yes, there is a bug at least in the .desktop file name. But while trying to fix this yesterday I also noticed that command line arguments are not used anymore by the g-c-c applets. Needs love in g-c-c. And a simple patch in Ephy. Let me finish the latter in a while.
Why not directly modifying org.gnome.desktop.background/picture-uri key ?
Modifying the key sounds sane to me, but it would be good to consult with the control center maintainers before going that route - using the g-c-c program like we did before is a way of separating policy from mechanism and hiding implementation details, so I'd say that would be the preferred way, specially now that the backgrounds capplet apparently uses an opaque approach to where "available" background images are located (currently ~/.cache/gnome-control-center/backgrounds/), it would be great if we could use control center itself instead of copying the image to the appropriate location and selecting it.
From my tests, just setting the key works but introduce a weird UX: the new bg picture doesn't appear in the list of the bg capplet. Once unset, it cannot be easily found again. So yeah I presume we should ask c-c to handle that, whether by direct invocation or via a Dbus interface of some sort. CCing hadess to get his point of view.
You'll need to copy it to the user's Pictures directory if you want it to show up as one of the items in the background panel.
(In reply to comment #7) > You'll need to copy it to the user's Pictures directory if you want it to show > up as one of the items in the background panel. I guess what we are wondering is if there should be a method somewhere that takes care of all the details instead of apps leaking the policy all over the place.
(In reply to comment #8) > (In reply to comment #7) > > You'll need to copy it to the user's Pictures directory if you want it to show > > up as one of the items in the background panel. > > I guess what we are wondering is if there should be a method somewhere that > takes care of all the details instead of apps leaking the policy all over the > place. No. But then again you don't need to have the image added to the background panel either to show it as the background...
> No. But then again you don't need to have the image added to the background > panel either to show it as the background... Indeed, but the user might not understand that the picture she just set as bg aint in the list of wallpapers to be selected again later, right ?
I think it makes sense to copy the file to Pictures. Where is that patch Diego?
Fixed in master, will likely be in 3.0.4 too.