If the user adds a file to the list of images available to be used as wallpapers and after that wants to load a new image, the file browser points to the list of recently used files. The expected behavior would be for it to point to the directory where the last image that was added is located.
See also https://bugzilla.gnome.org/show_bug.cgi?id=658280 But we can set a folder too from the interface.
Created attachment 4300 Remember the directory of the last image added in the settings app The patch adds a last-file-added property to keep track of the directory last used and defaults to it on future uses. If that property isn't set it will default to using the base directory of the last-image property and use the gtk recent docs directory should both fail.
You might want to clean up that patch...
Created attachment 4302 Remember the directory of the last image added in the settings app Cleaned up the previous patch, let me know if there's a better way.
A new property is a bit too much if you'd ask me. Can't we extract the parent dir of the selected image-path (or the first of a list) and set that in gtk_file_chooser_set_current_folder?
Created attachment 4306 Use parent folder of selected image This patch should do just that, it uses the first image in the selection list.
This problem doesn't occur anymore with xfdesktop4.11