Page 1 of 1

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

Posted: Sat Mar 09, 2024 6:58 pm
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.

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

Posted: Wed Mar 13, 2024 9:21 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

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

Posted: Thu Mar 28, 2024 1:44 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.7.0. Please check and confirm the bug fix here.