Issue #5738: Use display-name to get image name for loading
This patch attempts to resolve issue #5738 (closed).
Volatile files (like those hosted on certain cloud platforms) do not share
their actual filename by default when accessed from a GFile. Instead,
we need to check if its GFileInfo contains the attribute
G_FILE_ATTRIBUTE_STANDARD_IS_VOLATILE
. Then we can retrieve its
symlink target and make a new file with the path GIMP needs to choose
the right image procedure.
This patch is based on Debarshi Ray's implementation in Nautilis, as shared by @lillolollo.
I'm hoping I can test this with @brunolopesdsilv's AppImage build, and if it works then we can figure out the best way to implement.