Comment 10 for bug 344228

Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote : Re: [Bug 344228] Re: Deleting an image that's used as a desktop wallpaper removed it as a wallpaper without notice

The easiest most practical solution is to just have a
~/.config/current-background.jpg file to which the wallpaper is copied
the moment you set it as wallpaper. No lessons to be learned or files
to be restored. The solution you propose could be implemented but is
indeed far more complicated and doesn't seem to have any additional
benefits.

On Wed, Jun 24, 2009 at 5:58 PM, Tim Fuchs<email address hidden> wrote:
> In my opinion, this is not a real bug.
>
> If you delete an image, it can no longer be opened. That's true for
> every file.
>
> As the original poster stated, his wallpaper changed immediately. So he
> can restore the file from trash and learned his lesson, no harm done.
>
> But on the other hand I can kind of understand the usability
> implications of this.
>
> If this is supposed to get solved, then I suggest the following
> solution:
>
> The thumbnail viewer when changing the background will show the files in
> /usr/share/backgrounds and ~/.local/share/backgrounds
>
> If a new wallpaper gets chosen it is copied to the user folder, the
> button "Remove" in the wallpaper dialog gets replace with a "Delete"
> button
>
> This is pretty much the same behaviour as the theme chooser btw.
>
> The implementation however doesn't seem trivial to implement, so I am
> not sure if this is really a papercut
>
> --
> Deleting an image that's used as a desktop wallpaper removed it as a wallpaper without notice
> https://bugs.launchpad.net/bugs/344228
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in One Hundred Paper Cuts: Confirmed
> Status in Ubuntu: New
>
> Bug description:
> I saved an image to my desktop (it was the django pony wallpaper (http://www.djangopony.com/)). I then set this as the desktop wallpaper by right clicking on the desktop and selecting "Change Desktop Wallpaper". A while later (today), I wanted to clean up my desktop and right clicked on the image, and selected "Delete". A popup warned me that this would remove the image. I clicked OK and the image disappeared. However my desktop wallpaper changed immediatly to a dull brown colour.
>
> Obviously there is only one copy of the image stored when you set something as the wallpaper, however I thought it was otherwise. I'd suggest that when someone sets something as the wallpaper, it stores a copy of that image somewhere else to prevent things like this from happening.
>
> $ lsb_release -rd
> Description:    Ubuntu 8.10
> Release:        8.10
>