Trashing doesn't work when $XDG_DATA_HOME doesn't live in $HOME
Submitted by Mauricio C Antunes
Link to original bug (#730762)
Description
Today, if a local file is to be deleted, gio/glocalfile.c/g_local_file_trash() checks if that file device is the same as $HOME device. If it is, it tries to trash it to $XDG_DATA_HOME/Trash. However, XDG trash specs does not say that $XDG_DATA_HOME is a subdir of $HOME. If it's not, trashing fails with EXDEV.
Version: 2.40.x