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 783727 - Backgrounds selected from Wallpapers folder using right click menu create duplicates.
Backgrounds selected from Wallpapers folder using right click menu create dup...
Status: RESOLVED DUPLICATE of bug 688812
Product: gnome-control-center
Classification: Core
Component: Background
3.24.x
Other Linux
: Normal minor
: ---
Assigned To: Debarshi Ray
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-06-13 06:38 UTC by William Floyd
Modified: 2017-08-15 16:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description William Floyd 2017-06-13 06:38:27 UTC
Overview:
When attempting to select backgrounds from the "~/Pictures/Wallpapers/" directory (using the right click menu), they are copied there again (with a " (copy)", " (another copy)", etc. suffix).

Steps to Reproduce:
1) Right click on an image in ~/Pictures/Wallpapers/ (e.g. "~/Pictures/Wallpapers/img.jpg")

2) Click on "Set As Wallpaper"

Actual Results:
A new file, copied from the selected file, appears, and the background is set to this copy.

Expected Results:
The background should be set from this file in place.

Additional Information:
When selecting files from outside the Wallpapers directory, when a conflict occurs, it is resolved as per the usual file resolution dialogue. Ideally, should these files be found to be identical, no dialogue should appear, and the file in Wallpapers should be used.
Comment 1 Miguel Vaello Martínez 2017-07-20 15:01:48 UTC
(In reply to William Floyd from comment #0)
> Overview:
> When attempting to select backgrounds from the "~/Pictures/Wallpapers/"
> directory (using the right click menu), they are copied there again (with a
> " (copy)", " (another copy)", etc. suffix).
> 
> Steps to Reproduce:
> 1) Right click on an image in ~/Pictures/Wallpapers/ (e.g.
> "~/Pictures/Wallpapers/img.jpg")
> 
> 2) Click on "Set As Wallpaper"
> 
> Actual Results:
> A new file, copied from the selected file, appears, and the background is
> set to this copy.
> 
> Expected Results:
> The background should be set from this file in place.
> 
> Additional Information:
> When selecting files from outside the Wallpapers directory, when a conflict
> occurs, it is resolved as per the usual file resolution dialogue. Ideally,
> should these files be found to be identical, no dialogue should appear, and
> the file in Wallpapers should be used.

Looks like a Nautilus bug, the CC isn't involved on this, so I guess that should 
be reassigned to Nautilus instead. Looks easy to fix and would like to do it.
Comment 2 Felipe Borges 2017-07-20 15:25:59 UTC
There is a long standing discussion in Nautilus side regarding the 'Set as Wallpaper' behavior. See Bug 688812.

So far we'd expect that somehow g-c-c/backgrounds would handle it all.

What I suggest is that Nautilus (or other application) should be able to set the wallpaper over DBus, and g-c-c (or settings-daemon) would solve the file-location/conflict issues.
Comment 3 Miguel Vaello Martínez 2017-07-20 15:37:26 UTC
(In reply to Felipe Borges from comment #2)
> There is a long standing discussion in Nautilus side regarding the 'Set as
> Wallpaper' behavior. See Bug 688812.
> 
> So far we'd expect that somehow g-c-c/backgrounds would handle it all.
> 
> What I suggest is that Nautilus (or other application) should be able to set
> the wallpaper over DBus, and g-c-c (or settings-daemon) would solve the
> file-location/conflict issues.

The main pitfall here is that g-c-c will become an additional dependency to build nautilus, isn't it?

By the way, I think that the DBus fix make sense too despite the described above.
Comment 4 André Klapper 2017-08-15 13:00:30 UTC
*** Bug 786313 has been marked as a duplicate of this bug. ***
Comment 5 Debarshi Ray 2017-08-15 16:23:54 UTC
Sounds like this should be a duplicate of the nautilus bug (ie. bug 688812).
Comment 6 Debarshi Ray 2017-08-15 16:24:01 UTC

*** This bug has been marked as a duplicate of bug 688812 ***