Page 1 of 1

Custom sorting not refleced in View mode

Posted: Mon Sep 08, 2025 12:58 pm
by B.Douille
Hello, can you have a look at this ?
After manually sorting a set of picture I wanted to see them one by one in view mode. Doing so the pictures are not displayed in the same order I put them. It's more or less the same order as before I sort them manually. However, in full screen it's ok.
A workaround is to press F5 in the browser view. Nothing visible happens but it seams there is a need to refresh a cache somewhere.

Image

Re: Custom sorting not refleced in View mode

Posted: Mon Sep 08, 2025 2:06 pm
by user0
looks like Viewer uses .XnViewSort file, but Browser tab delays writing updates there until: F5 pressed, folder changed, or Browser tab closed.

I would write updates to .XnViewSort file right after each manual reordering event as I doubt user can do it fast enough to cause any noticeable i/o delay

Re: Custom sorting not refleced in View mode

Posted: Mon Sep 08, 2025 8:08 pm
by B.Douille
Exact. I see the file not updated in real-time after rearranging the pictures. This is missing as well when a file is added or deleted.
Also, if a file is deleted and the focus is set to another folder the hidden .XnViewSort file keeps record of the (now missing) file for the next visit.

Strange is the full screen mode is not impacted and follows the user's sort order. Same if you start a slideshow. Selecting all files with CTRL-A the pictures are on the right sort order.
So there is another cache that keep right track of the manual reordering.

I've forgotten to mention I use the latest MP v1.9.3 under Windows 11

Re: Custom sorting not refleced in View mode

Posted: Fri Sep 12, 2025 12:07 pm
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.