Valid nested symlinks considered broken
It's a regression that took place between 4.16.11 and 4.18.0, if you can't reproduce the problem I can be more precise.
Steps to reproduce:
- thunar -q
- mkdir testdir && cd testdir
- mkdir -p d1/d2
- echo text > d1/f
- ln -s d1/d2 .
- cd d2
- ln -s ../f .
- thunar
With git master (4.19.0+101+ga8b69bc96
), the link type is marked as unknown ("Unknown (link to ../f)"), with 4.18.8 it is marked as broken ("broken link"), with 4.16.11 the text file is recognized ("link to ../f").
As a result, if f
is not a simple text file but a video or image, its thumbnail is not displayed in thunar 4.19/4.18, whereas it was in thunar 4.16.11.
As in other issues, my real use case is to have downloads, videos, etc. folders on a data partition, with symlinks to these folders in my home folder, and relative symlinks in these folders that go back into the data partition (and therefore appear broken in Thunar even though they are valid).