After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 647604 - Use Image as Background doesn't work in GNOME 3
Use Image as Background doesn't work in GNOME 3
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: General
3.0.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-04-12 21:04 UTC by Adam Dingle
Modified: 2011-06-25 02:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Dingle 2011-04-12 21:04:40 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.
Comment 1 Xan Lopez 2011-04-14 04:58:38 UTC
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.
Comment 2 Adam Dingle 2011-04-14 16:47:49 UTC
Yes, I guess the mechanism must have changed.  Turns out this is broken in Shotwell too:

http://trac.yorba.org/ticket/3496
Comment 3 Diego Escalante Urrelo (not reading bugmail) 2011-04-14 22:11:49 UTC
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.
Comment 4 Alexandre Mazari 2011-04-15 14:29:51 UTC
Why not directly modifying org.gnome.desktop.background/picture-uri key ?
Comment 5 Gustavo Noronha (kov) 2011-04-16 20:38:29 UTC
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.
Comment 6 Alexandre Mazari 2011-04-20 09:41:45 UTC
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.
Comment 7 Bastien Nocera 2011-04-20 11:15:10 UTC
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.
Comment 8 Xan Lopez 2011-04-20 21:10:53 UTC
(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.
Comment 9 Bastien Nocera 2011-04-20 22:06:56 UTC
(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...
Comment 10 Alexandre Mazari 2011-04-21 08:15:09 UTC
> 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 ?
Comment 11 Xan Lopez 2011-06-09 18:24:32 UTC
I think it makes sense to copy the file to Pictures. Where is that patch Diego?
Comment 12 Xan Lopez 2011-06-25 02:18:44 UTC
Fixed in master, will likely be in 3.0.4 too.