Next/previous file buttons

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

Moderators: XnTriq, xnview

Hans L
Posts: 136
Joined: Tue Mar 03, 2009 6:12 pm

Next/previous file buttons

Post by Hans L »

What can I do to get the Next/previous file buttons to show files in the order they occur in Windows Explorer (alphabetical, for instance)?

Thanks,

Hans Leander
User avatar
xnview
Author of XnView
Posts: 37624
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Next/previous file buttons

Post by xnview »

you need to choose sort method in browser
Pierre.
Hans L
Posts: 136
Joined: Tue Mar 03, 2009 6:12 pm

Re: Next/previous file buttons

Post by Hans L »

If you mean XnView > Tools > Options > Browser, I cannot find anything there about sorting. My Windows Explorer (actually, a replacement, DOpus; extremely good) is sorted alphabetically (all jpg files). Kindly advise.

Hans L
Hans L
Posts: 136
Joined: Tue Mar 03, 2009 6:12 pm

Re: Next/previous file buttons

Post by Hans L »

Hello again:

I now realize that XnView sort differently than DOpus. Here is show XnView sorts:

0001-b.jpg
0001.jpg
0002-b.jpg
0002.jpg
0003-b.jpg
0003.jpg

which, I must say, is somewhat strange.

Regards,

Hans L
cday
XnThusiast
Posts: 3217
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Next/previous file buttons

Post by cday »

Have you looked at the browser View > Sort By options Name and Name (numeric) ?
Hans L
Posts: 136
Joined: Tue Mar 03, 2009 6:12 pm

Re: Next/previous file buttons

Post by Hans L »

cday, had missed that , because it shows up only if you open XnView directly. And, in the list that shows up there, it makes no difference if I have Name or Name (numeric): the order in that display is the way I want it, namely

0001.jpg
0001-b.jpg
0002.jpg
0002-b.jpg

However, when I open XnView by clicking on a jpg file, first, under View, there is no Sort, and, second, whether I have set Sort to Name or Name (numeric), it sorts

0001-b.jpg
0001.jpg
0002-b.jpg
0002.jpg


However, I get correct sorting if I have

0001.jpg
0001_b.jpg
0002.jpg
0002_b.jpg

(underscore instead of hyphen).

Regards,

Hans L
User avatar
Karl02
Posts: 134
Joined: Mon Sep 03, 2007 1:00 pm
Location: Germany

Re: Next/previous file buttons

Post by Karl02 »

^ I can confirm this wrong sort order when starting XnView directly in view mode.

Tested with XnView v2.33 (2015-06-18) on Windows 7 64 bit SP1.
-- Karl
Hans L
Posts: 136
Joined: Tue Mar 03, 2009 6:12 pm

Re: Next/previous file buttons

Post by Hans L »

Thanks for testing and posting, Karl. I'm sure Pierre (developer?) reads this.

Regards,

Hans L
User avatar
xnview
Author of XnView
Posts: 37624
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Next/previous file buttons

Post by xnview »

ok, i'll check
Pierre.
Hans L
Posts: 136
Joined: Tue Mar 03, 2009 6:12 pm

Re: Next/previous file buttons

Post by Hans L »

Thanks, Pierre.

Hans L
User avatar
XnTriq
Moderator & Librarian
Posts: 5999
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Next/previous file buttons

Post by XnTriq »

XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=123689#p123689]Replacement for Windows Photo Viewer[/url]) wrote:There's Name and Name (numeric) in View » Sort By.
In addition to that, you can change the behavior by editing xnview.ini:
XnView Wiki (UI-less Settings » [url=http://www.xnview.com/wiki/index.php/UI-less_Settings#Browser]Browser[/url]) wrote:
OldSortMethod
  • When disabled, XnView will use the same sort order as Explorer on Windows XP and later: File names are sorted based on numerical value (3 < 22 < 111).
    When enabled, XnView will use the same sort order as Explorer on Windows 2000 and earlier: File names are sorted literally (111 < 22 < 3).
    Value: Boolean (1/0), disabled by default
    Added in v2.25
Related topic: XN 2.23 - "View Thumbnails Panel" changed order of files
Hans L
Posts: 136
Joined: Tue Mar 03, 2009 6:12 pm

Re: Next/previous file buttons

Post by Hans L »

Thanks./Hans L