! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
wrong file ordering after edits create inconsistencies
Status:
RESOLVED: DUPLICATE

Comments

Description devim 2017-06-08 17:24:36 CEST
Created attachment 7160 
Screencast of the wrong file ordering

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 files anymore.

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.
Comment 1 alexxcons editbugs 2018-03-26 23:55:25 CEST
Thanks for report and sorry for the late reply ! 
The good news: There is a patch available in Bug 12435

*** This bug has been marked as a duplicate of bug 12435 ***

Bug #13627

Reported by:
devim
Reported on: 2017-06-08
Last modified on: 2018-03-26

People

Assignee:
Xfce Bug Triage
CC List:
3 users

Version

Version:
1.6.11

Attachments

Additional information