[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-19 Thread Didier Roche
Right now on my machine, with the default wallpaper:
timestamp of the cache:
$ ls -l 
~/.cache/wallpaper/zoom_1920_1080__usr_share_backgrounds_warty-final-ubuntu.png 
-rw-r--r-- 1 didrocks didrocks 392625 2011-04-19 09:23 
/home/didrocks/.cache/wallpaper/zoom_1920_1080__usr_share_backgrounds_warty-final-ubuntu.png

timestamp of the source image (0.31.9)
$ ls -l /usr/share/backgrounds/warty-final-ubuntu.png 
-rw-r--r-- 1 root root 231208 2011-03-23 23:34 
/usr/share/backgrounds/warty-final-ubuntu.png

So, I created ubuntu-wallpapers 0.31.9ppa1 with a totally new wallpaper (still 
warty-final-ubuntu, expressing all my artistic creation writing BRAND NEW! on 
it ;)
You can find it in my ppa: https://launchpad.net/~didrocks/+archive/ppa
When I install it, I see the wallpaper changing, showing a nice Brand New!. 
That's also confirmed by the timestamps:

$ ls -l 
~/.cache/wallpaper/zoom_1920_1080__usr_share_backgrounds_warty-final-ubuntu.png 
-rw-r--r-- 1 didrocks didrocks 670582 2011-04-19 09:30 
/home/didrocks/.cache/wallpaper/zoom_1920_1080__usr_share_backgrounds_warty-final-ubuntu.png

$ ls -l /usr/share/backgrounds/warty-final-ubuntu.png 
-rw-r--r-- 1 root root 713318 2011-04-19 09:28 
/usr/share/backgrounds/warty-final-ubuntu.png

Any hint? This should reproduce the upgrade case (we are using nautilus
in the gnome session, but it's calling the same library, and if, after
this, I try to start gdm (using g-s-d), I see the new wallpaper as well.
Can you try with the wallpaper asset in my ppa (I only changed warty-
final-ubuntu.png)

For Jonathan, here is the screenshot :)

PS: the exact same code is now in GNOME3 (I ported it, but no change at
all in the logic) and there is no bug opened against it.

** Attachment added: Wallpaper after the upgrade.
   
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/746028/+attachment/2065751/+files/wallpaper.png

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-19 Thread Jonathan Carter
How bizarre. In both Stéphane and my case, we installed a brand new
maverick machine, installed all the updates, and then used update
manager again to upgrade to the latest development release. And it's
reproducible every singe time on Ubuntu and Edubuntu. I'll look a bit
deeper today to see what actually happens in our systems. I really
thought it would be easier for everyone else to reproduce. Thanks for
the screenshot :)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-19 Thread Stéphane Graber
In my test VM:

root@ubuntu:~# ls -l /usr/share/backgrounds/warty-final-ubuntu.png 
-rw-r--r-- 1 root root 231208 2011-03-23 18:34 
/usr/share/backgrounds/warty-final-ubuntu.png
root@ubuntu:~# ls -l 
/home/stgraber/.cache/wallpaper/zoom_1024_768__usr_share_backgrounds_warty-final-ubuntu.png
 
-rw-r--r-- 1 stgraber stgraber 327146 2011-04-18 18:10 
/home/stgraber/.cache/wallpaper/zoom_1024_768__usr_share_backgrounds_warty-final-ubuntu.png
root@ubuntu:~# ls -l 
/home/stgraber1/.cache/wallpaper/zoom_1024_768__usr_share_backgrounds_warty-final-ubuntu.png
 
-rw-r--r-- 1 stgraber1 stgraber1 194801 2011-04-18 19:21 
/home/stgraber1/.cache/wallpaper/zoom_1024_768__usr_share_backgrounds_warty-final-ubuntu.png

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-19 Thread Kate Stewart
The case I was doing was fresh maverick,  apply all updates,  then fresh
natty.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-19 Thread Stéphane Graber
Installing Didier's new wallpaper, I get it on all of gdm, current user
and new user.

So the issue happens when you install a new Maverick machine after the new 
ubuntu-wallpaper has been uploaded in Natty.
In this case, the cache is newer than the new wallpaper and so won't be 
rebuilt, leaving the user with the old wallpaper.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-19 Thread Stéphane Graber
Adding a touch in .postinst would set the timestamp to the current date and 
time which should trigger a rebuild of the cache.
The only issues with that is that:
 1) We are (kind of) modifying a file post-install (although the checksum will 
remain the same so won't really be considered as a change)
 2) We'd need to patch every wallpapers package to include that fix

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-19 Thread Stéphane Graber
Another way of improving this in the future would be to set the mtime of the 
cache to be the same as the file it's caching.
That won't help with update for anyone who installed their system before that 
fix enters the distro though, so I still think the easiest and most effective 
way of fixing it for now, is to add a touch in the postinst of all wallpaper 
packages.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-18 Thread Stéphane Graber
I don't think Edubuntu ships anything that could cause that.
I'm currently doing the following test to prove it:
 1) Install Ubuntu 10.10 from netboot (so it's perfectly up to date by default)
 2) Make a screenshot of gdm and default user session
 3) Upgrade to Natty with update-manager
 4) Make a screenshot of gdm and default user session

If the bug also affects Ubuntu, all screenshots should be identical.
Otherwise, I'll get two maverick wallpaper and two natty wallpaper.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-18 Thread Stéphane Graber
** Attachment added: Ubuntu Maverick desktop
   
https://bugs.launchpad.net/ubuntu/natty/+source/gnome-settings-daemon/+bug/746028/+attachment/2063956/+files/maverick-desktop.png

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-18 Thread Stéphane Graber
** Attachment added: Ubuntu Maverick gdm
   
https://bugs.launchpad.net/ubuntu/natty/+source/gnome-settings-daemon/+bug/746028/+attachment/2063968/+files/maverick-gdm.png

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-18 Thread Stéphane Graber
** Attachment added: Ubuntu Natty gdm
   
https://bugs.launchpad.net/ubuntu/natty/+source/gnome-settings-daemon/+bug/746028/+attachment/2063975/+files/natty-gdm.png

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-18 Thread Stéphane Graber
** Attachment added: Ubuntu Natty desktop
   
https://bugs.launchpad.net/ubuntu/natty/+source/gnome-settings-daemon/+bug/746028/+attachment/2063969/+files/natty-desktop.png

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-18 Thread Stéphane Graber
** Attachment added: Ubuntu Natty with new user
   
https://bugs.launchpad.net/ubuntu/natty/+source/gnome-settings-daemon/+bug/746028/+attachment/2063976/+files/natty-desktop1.png

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-18 Thread Stéphane Graber
Ok, so attached are 5 screenshots:
 - maverick-desktop.png: Screenshot of the desktop on an up to date Maverick
 - maverick-gdm.png: Screenshot of gdm on an up to date Maverick
 - natty-desktop.png: Screenshot of the desktop on an up to date Natty
 - natty-gdm.png: Screenshot of gdm on an up to date Natty
 - natty-desktop1.png: Screenshot of the desktop of a new user on an up to date 
Natty

You'll notice that they are all identical wallpapers except for natty-
desktop1.png which is a new user and so didn't have any cache date from
Maverick.

I think it's pretty clear that the issue isn't Edubuntu specific. It's
just a LOT more visible on Edubuntu where our two wallpapers are
radically different.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 746028] Re: Edubuntu: Wallpapers are not updated on upgrade to Natty

2011-04-18 Thread Jonathan Carter
@Didier See above. If you can't reproduce that then I want to see
screenshots! :)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu.
https://bugs.launchpad.net/bugs/746028

Title:
  Edubuntu: Wallpapers are not updated on upgrade to Natty

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs