1.6.5: when show files in subfolder, viewer has wrong order

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

fireattack
Posts: 92
Joined: Sun Nov 10, 2013 8:02 am

1.6.5: when show files in subfolder, viewer has wrong order

Post by fireattack »

This is a regression in 1.6.5. It works fine in 1.6.4.

When you use "show files in subfolder" and sort the files by some ordering, say, path, and then open the file in viewer, the order of the images in viewer does not follow the order in browser.

For example, assuming you have these files:

sample2/
├── 01/
│ ├── 5.png
│ ├── 6.png
│ ├── 7.png
│ └── 8.png
├── 02/
│ ├── 1.png
│ ├── 2.png
│ ├── 3.png
│ └── 4.png
├── 10.png
├── 11.png
├── 12.png
├── 13.png
├── 14.png
├── 15.png
├── 16.png
├── 17.png
├── 18.png
├── 19.png
├── 20.png
└── 9.png

You click "show files in subfolder" and sort by path:
bug01.png
And you click on the the first image 9.png.

Expected: This image is 1/20 and you can only move next to 2/20 (which is 10.png), etc.
Observed: This image is marked as 9/20, which should only happen if you sort by name instead of path.


There is no such bug in 1.6.4.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 44593
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.6.5: when show files in subfolder, viewer has wrong order

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 44593
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.6.5: when show files in subfolder, viewer has wrong order

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.7.0. Please check and confirm the bug fix here.
Pierre.