#293852 nautilus: Thumbnails cache badly supports symlinks

Package:
nautilus
Source:
nautilus
Description:
file manager and graphical shell for GNOME
Submitter:
Cyril Bouthors
Date:
2021-06-21 17:21:10 UTC
Severity:
wishlist
Tags:
#293852#5
Date:
2005-02-06 07:25:18 UTC
From:
To:
~cyb/image/maps is a directory containings many JPEG world maps and
~cyb/maps is a symlink to it:

drwx------  3 cyb cyb 4096 2005-01-31 10:39 ~cyb/image/maps
lrwxrwxrwx  1 cyb cyb   10 2004-10-12 21:04 ~cyb/maps -> image/maps

When I open the directory with Nautilus, the thumbnails are displayed
instantly thanks to the cache but when I open the symlink instead,
Nautilus builds another version of the cache for the same files.

It takes a while to build it and I guess it also wastes diskspace
under the ~/.thumbnails/ directory.

Nautilus should recognize that ~cyb/maps and ~cyb/image/maps are the
same thing.

Thanks.