GNOME Bugzilla – Bug 761406
Wrong desktop picture set when setting desktop picture though correct one is shown elsewhere
Last modified: 2016-09-09 13:02:04 UTC
I have recently noticed that when going into gnome-photos that if one selects and image and then selects to set it as the desktop picture instead this image is set: https://bugs.launchpad.net/ubuntu-gnome/+bug/1521676/+attachment/4528024/+files/WrongDesktopImage.png But the strange thing is is that if I then go into the Activities Overview the correct desktop image is shown there: https://bugs.launchpad.net/ubuntu-gnome/+bug/1521676/+attachment/4528025/+files/CorrectDesktopImageInActivitiesOverview.png And if I go into the Background settings it shows the correct image as well, but I can never get the gnome-photos application to set the correct desktop image on the actual desktop though it sets it everywhere else: https://bugs.launchpad.net/ubuntu-gnome/+bug/1521676/+attachment/4528026/+files/CorrectDesktopImageInSettings.png I initially reported this issue here, but thought I should also do so upstream: https://bugs.launchpad.net/ubuntu-gnome/+bug/1521676 --- OS Information: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 15.10 Release: 15.10 Codename: wily Flavour: GNOME GNOME Version: 3.18 Package Information: gnome-photos: Installed: 3.18.2-1~wily1 Candidate: 3.18.2-1~wily1 Version table: *** 3.18.2-1~wily1 0 500 http://ppa.launchpad.net/gnome3-team/gnome3-staging/ubuntu/ wily/main amd64 Packages 100 /var/lib/dpkg/status 3.16.2-1 0 500 http://archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
What happens if you use Settings -> Background to set the wallpaper instead of Photos (ie. if you don't use Photos at all)? Does the wallpaper change as expected?
Yes, it changes as expected.
From #gnome-shell on GIMPNet: 17:09 <rishi> Could this be a gnome-shell bug: https://bugzilla.gnome.org/show_bug.cgi?id=761406 ? I vaguely recall something like this in the past, but things seem to work with 3.18.x. 17:17 <rtcm> rishi: if you can't reproduce, it might be due to extensions, that desktop is certainly not vanilla gnome-shell 17:19 <rishi> rtcm: Ah, good point. Extensions!
I'll try disabling all extensions and let you know if the issue is still present.
Ok, I disabled all my extensions, but the issue is still present.
Maybe the extensions didn't disable cleanly? Did you try restarting gnome-shell for good measure?
Yes, I did, it appears to have nothing to do with the extensions. Just to ask, where exactly is gnome-photos meant to save the image once it has taken it as the desktop image? Or does it just tell the program to look in the location where the actual image is rather than moving it somewhere such as the Wallpapers folder in Pictures where other programs put it? I'm just trying to tell if that is where part of the problem could be, if perhaps it puts it somewhere where the application setting the desktop image doesn't know about. Of course I don't know the internal workings of this, so I am just guessing.
It sets some GSettings - the following keys in the org.gnome.desktop.background schema: * picture-uri = /path/to/the/file * picture-options = Zoom * color-shading-type = Solid * primary-color = "#000000000000" * secondary-color "#000000000000" If you are setting the lock screen background, then it sets the same keys in org.gnome.desktop.screensaver schema. As far as I remember, Settings -> Background does the same.
Right, and the right-click option to make a certain image the desktop background does the same as well as making a copy of the file in the Wallpapers folder in Pictures?
(In reply to cooks.go.hungry from comment #9) > Right, and the right-click option to make a certain image the desktop > background does the same as well as making a copy of the file in the > Wallpapers folder in Pictures? Yes. You can play with gsettings(1) to change the settings from the shell.
I'm going to have a look through the source code of gnome-photos to see if I can find the problem...
I don't know how all these bug statuses work and everything, but should this report stay on "NEEDINFO"? Because I've given you all the info you requested...
I thought you were going to "look through the source code" and try to "find the problem". :) I just tried this out in a recent gnome-continuous image [1] and couldn't reproduce it. So I for the time being, I am sticking to "something else is broken on your system" - could be gnome-shell extensions, could be anything else. I am not religious about the status, but some more information is surely needed here, if are to make any progress. Otherwise it will eventually get closed as INCOMPLETE. [1] http://build.gnome.org/continuous/buildmaster/images/z/current/
Oh, yes, I am looking through the source code though haven't found that much... And am currently trying to get my IDE working with it so that I can debug the code properly. But if all the other ways of setting a desktop picture work, and gnome-photos is using the same method as the other ways are, then why is only gnome-photos failing? What is it doing differently?
Did you try setting it directly with gsettings(1) (see comment 10) ?
Yes, and it worked perfectly as expected.
Can you reproduce this on a freshly installed VM? If you can, then I would like to have the VM's image for debugging.
I will see... But when you say you would like the VM's image, would like the ISO file that I installed it from or an actual snapshot of the VM?
Actual snapshot of the VM. By the way, can you reproduce this using gnome-continuous (see comment 13)?
Sorry I have not gotten back to you sooner, I have been rather busy lately. I will make the snapshot now and upload it when I can. I tried using gnome-continuous, however I get the following issue on startup: GC-Test-Machine_Startup_Flashing.mp4 (Please ignore the shape that appears in the top right hand corner at the end, that is simply me turning off the screencasting program.) And when I get to this point it just carries on like this on an endless loop so I am unable to properly boot into it. What should I do about this?
Created attachment 325450 [details] GC-Test-Machine_Startup_Flashing.mp4
I am sorry, but strangely, even though I could previously reproduce it in the same VM, I am now unable to... Though I can still reproduce it on the host. I will continue trying to see if I can reproduce it... But this is most peculiar.
Getting the same thing here but from different circumstances: https://bugzilla.gnome.org/show_bug.cgi?id=766963
(In reply to cooks.go.hungry from comment #23) > Getting the same thing here but from different circumstances: > https://bugzilla.gnome.org/show_bug.cgi?id=766963 Due to the lack of any evidence to the contrary, I will mark this is a duplicate. *** This bug has been marked as a duplicate of bug 765687 ***