I've Thunar that shows files as icons and sorts them by last modified date. In
some cases, if I edit the file inside the folder the files will not be
re-ordered. Furthermore, if I click on an icon it opens a different file,
because there is an inconsistence between the files displayed to the user and
the internal file ordering. Thus, the indexes doesn't correspond to the right
This bug is always reproducible:
1) Create an empty folder (e.g. called test)
2) Run `$ convert -size 100x100 xc:#000000 img.png` to create a solid black
square image inside the folder
3) Run `echo "AAAA" > test1` to create a text file called test1. Now in the
folder you should see the image img.png in the first position and the file in
the second position.
4) Run `$ convert -size 100x100 xc:#FF0000 img.png` to update the image with a
red square. The image preview is correctly generated, but the image doesn't
move to the last position on my system.
5) Try to open the text file test1 from the file manager Thunar, and you'll see
the image. This happens because Thunar has mapped the file img.png in the
position of test1 and vice-versa.
This inconsistence could lead to other errors.
I'll attach an animated gif that records this behaviour letting you to
understand better the problem.