[Bug 13627] New: wrong file ordering after edits create inconsistencies

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 13627] New: wrong file ordering after edits create inconsistencies

bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=13627

            Bug ID: 13627
           Summary: wrong file ordering after edits create inconsistencies
    Classification: Xfce Core
           Product: Thunar
           Version: 1.6.11
          Hardware: PC (x86_64)
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: Core
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]
                CC: [hidden email], [hidden email]
  Target Milestone: 1.8.0

Created attachment 7160
  --> https://bugzilla.xfce.org/attachment.cgi?id=7160&action=edit
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.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs