Page 1 of 1

1.94.2: incorrect sorting of files

Posted: Sun Aug 17, 2008 2:40 am
by wdolek
on browser, when i set sorting by type, i can see that eg.

Code: Select all

foo.jpg
bar.txt
moo.jpg
which is imho wrong - order by type should make something like

Code: Select all

foo.jpg
moo.jpg
bar.txt
also i have noticed that when i start xnview directly to view of image and i'm browsing it prev-next, images are not listed as on browser... e.g. when i'm on browser, i have files (for example!)

Code: Select all

a.jpg
b.jpg
c.jpg
and when seeing them, first file is for example "b.jpg", next is "c.jpg" and last one is "a.jpg"...

also thing i have noticed, sorting is not same as filesystem order files... files with "_" on beginnings are sorted on every OS sorted before other files, but xnview sorts these files at the end :( ...

when i start xnview directly to view by "running" file named e.g. "_test.jpg" i see on status bar 1/1000 - but in browser this file is ordered as ... 666/1000 ... :P

Posted: Sun Aug 17, 2008 9:45 pm
by Danny
Considering your first problem: use sort by extension instead of type.

Posted: Sun Aug 17, 2008 9:51 pm
by Dreamer
Right, type and extension is NOT the same! E.g.: EXE=Application, INI=Configuration Settings...

Posted: Mon Aug 18, 2008 5:08 pm
by wdolek
Dreamer wrote:Right, type and extension is NOT the same!
of course, in some cases should be type "video" with different extensions... but when xnview sorts text file with images - it is really strange X-( ... i would rather prefer sorting by extension as "type"... :shock:

Posted: Mon Aug 18, 2008 9:23 pm
by Dreamer
Yes, jpg - txt - jpg is NOT good, but I can't confirm this bug.

Posted: Mon Aug 18, 2008 11:02 pm
by wdolek
now i understand what is "wrong" - i have disabled reading of headers so file type is "unknow" and due this it is sorted wrong... :P i really have to use sort by extension :? :| :(

(Windoze XP Pro)