Custom sorting not refleced in View mode

Bugs which are supposed to be fixed in the next test version (not available yet)

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
B.Douille
Posts: 298
Joined: Sat Sep 09, 2006 9:25 pm
Location: Hte Savoie - France

Custom sorting not refleced in View mode

Post 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
Attachments
Browser tri manuel - bug in iew mode.jpg
Browser tri manuel - bug in iew mode.jpg (80.56 KiB) Viewed 254 times
Daniel, happy user to manage photo and videos and show them in slideshows for 20 years (Windows 11, Linux Ubuntu and Android)
User avatar
user0
XnThusiast
Posts: 2512
Joined: Sat May 09, 2015 9:37 am

Re: Custom sorting not refleced in View mode

Post 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
User avatar
B.Douille
Posts: 298
Joined: Sat Sep 09, 2006 9:25 pm
Location: Hte Savoie - France

Re: Custom sorting not refleced in View mode

Post 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
Daniel, happy user to manage photo and videos and show them in slideshows for 20 years (Windows 11, Linux Ubuntu and Android)
User avatar
xnview
Author of XnView
Posts: 46631
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Custom sorting not refleced in View mode

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
Post Reply