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.
Next File-Button shows previous file
Moderators: XnTriq, helmut, xnview
-
- Author of XnView
- Posts: 45546
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 21
- Joined: Tue Jan 31, 2012 8:49 am
Re: Next File-Button shows previous file
Thank you, this is the solution: I just need to switch to the browser and use the green 'Sort by' button.
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.

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.
-
- XnThusiast
- Posts: 4299
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Next File-Button shows previous file
+1cw2002 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
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...

-
- Posts: 21
- Joined: Tue Jan 31, 2012 8:49 am
Re: Next File-Button shows previous file
For me it works: if numbered in ascending mode, the 'Next' button loads the next file in ascending order.
... the default Previous and Next button (and keyboard) actions should be the reverse 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.
... of the present defaults??
@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.
-
- XnThusiast
- Posts: 4299
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Next File-Button shows previous file
Confirmed in Windows, my Linux Mint setting, or at least some of them, probably aren't persistent, not sure why.cw2002 wrote: Thu Dec 28, 2023 10:19 pmFor me it works: if numbered in ascending mode, the 'Next' button loads the next file in ascending order.
... the default Previous and Next button (and keyboard) actions should be the reverse of the present defaults??