Next File-Button shows previous file

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

cw2002
Posts: 21
Joined: Tue Jan 31, 2012 8:49 am

Next File-Button shows previous file

Post by cw2002 »

In the viewer mode toolbar, there are two buttons with blue colored arrows.
The mouse-over pop-up text of the left directed arrow says 'Previous file', while the arrow pointing to the right should be 'Next file'.

My problem ist: the buttons seem to work in the reverse direction, in relation to the naming of the files.
Imagine my folder contains the files 1.jpg, 2.jpg, ...9.jpg:
Klicking the 'Previous file' button repeatingly loads the files in the sequence 1, 2, 3, 4 ...
The Next file-button brings up the pictures in the reverse order, that is 4, 3, 2, 1

Where can I (permanently) set the 'Next button' to move forward and the 'Previous button' to go backward, and where can I set the related sort criteria to either the file name or the creation date or modification date, or maybe the Exif date of files?

My question is related to the viewer mode, not to the browser mode.
User avatar
xnview
Author of XnView
Posts: 45546
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Next File-Button shows previous file

Post by xnview »

what do you have in Browser for sorting?
Pierre.
cw2002
Posts: 21
Joined: Tue Jan 31, 2012 8:49 am

Re: Next File-Button shows previous file

Post by cw2002 »

Thank you, this is the solution: I just need to switch to the browser and use the green 'Sort by' button. :D Browser sort was descending, hence the viewer buttons worked in reverse.
I whished there would be a sort button available for the customizable viewer toolbar, because I rarely use the browser in my workflow. Please, could you evaluate this for a future version? Maybe also the filter button, this would be handy.
cday
XnThusiast
Posts: 4299
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Next File-Button shows previous file

Post by cday »

cw2002 wrote: Sun Dec 17, 2023 11:42 pm In the viewer mode toolbar, there are two buttons with blue colored arrows.
The mouse-over pop-up text of the left directed arrow says 'Previous file', while the arrow pointing to the right should be 'Next file'.

My problem is: the buttons seem to work in the reverse direction, in relation to the naming of the files.
Imagine my folder contains the files 1.jpg, 2.jpg, ...9.jpg:
Klicking the 'Previous file' button repeatingly loads the files in the sequence 1, 2, 3, 4 ...
The Next file-button brings up the pictures in the reverse order, that is 4, 3, 2, 1
+1

This has for a long time also been an issue for me: surely when files are numbered in ascending order, very common and even the default order, the default Previous and Next button (and keyboard) actions should be the reverse of the present defaults??

Surprised this hasn't been raised before, but then I hadn't raised it myself... :wink:
cw2002
Posts: 21
Joined: Tue Jan 31, 2012 8:49 am

Re: Next File-Button shows previous file

Post by cw2002 »


... the default Previous and Next button (and keyboard) actions should be the reverse of the present defaults??
For me it works: if numbered in ascending mode, the 'Next' button loads the next file in ascending order.

... of the present defaults??
No such default exists. The current order in the viewer is determined by the order in the XnView MP browser. The setting is remembered when the program is closed.

@xnview: Pierre, too bad my feature request (make sort and filter buttons available also for the viewer's toolbar) did not make it in version 1.6.3 I will post in the proper 'MP - Suggestions' category.
cday
XnThusiast
Posts: 4299
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Next File-Button shows previous file

Post by cday »

cw2002 wrote: Thu Dec 28, 2023 10:19 pm

... the default Previous and Next button (and keyboard) actions should be the reverse of the present defaults??
For me it works: if numbered in ascending mode, the 'Next' button loads the next file in ascending order.
Confirmed in Windows, my Linux Mint setting, or at least some of them, probably aren't persistent, not sure why.