BestImageViewer / geeqie

claiming to be the best image viewer / photo collection browser
http://www.geeqie.org/
GNU General Public License v2.0
479 stars 79 forks source link

Sort order in directory listing #100

Closed mowgli closed 8 years ago

mowgli commented 14 years ago

Hallo! The sort order in the directory list is at least ... weird. I use photo folders following the scheme "200404", "20071203", "200908012_Annes_birthday", and of course I expect these to be sorted like "ls -v" oder gqview does it. But geeqie mixes them up in a irritating way. At least the "normal" behaviour should be configurable.

It is a good thing that geeqie carries on the development of gqview!

Regards

Michael

Reported by: micha_bee

mowgli commented 14 years ago

Hi,

i tried to create 3 directories like you describe

mkdir test.d; cd test.d mkdir "200404"; mkdir "20071203"; mkdir "200908012_Annes_birthday"; sleep 5; touch "20071203"; ls -vl total 12 drwxr-xr-x 2 zas zas 4096 2009-12-18 20:16 200404 drwxr-xr-x 2 zas zas 4096 2009-12-18 20:20 20071203 drwxr-xr-x 2 zas zas 4096 2009-12-18 20:17 200908012_Annes_birthday

But directory listing with lastest geeqie from svn trunk shows them as it is, see attached screenshot.

Please show us, the result of ls -lv in your directory and a screenshot of what geeqie shows.

Original comment by: zas_

mowgli commented 14 years ago

geeqie directory list

Original comment by: micha_bee

mowgli commented 14 years ago

gqview directory list

Original comment by: micha_bee

mowgli commented 14 years ago

Hallo zas_,

sorry, I mixed up something. The directory listing should of course be sorted like "ls" (without "-v") sorts it, or like gqview does. The directory names with the date in it should be sorted in ascending order:

200404 20071203 200908012_Annes_birthday

Top of my photo directory with "ls":

19760000_Klassentreffen1976 19880000_Klassentreffen1988 200404_Bodensee 200404_mit_Mechtild_an_der_Weser 20040716 20040718 20040721 20040807_Bretagne_2004 20040808_Hooksiel_2004 20040822 20040829 20040912 20041010 20041031 20041106 20041118 20050327 20050528 20050529 20050619 20050620 20050626_Oskars_Geburtstag 20050715_PROSTEP_Sommerfest 20050724_Mainradweg_2005 20050813_Weserradweg_2005 20050925_Vogelfrei 20051030 20051113 20051215-PROSTEP_Weihnachtsfest 20060116 20060303 20060506_Klassentreffen 20060522_Bad.Orb 20060607_Vorlesestunde 20060615_Botanischer_Garten 20060626_Der_Bart_ist_ab 200606_Mosel-Radweg 20060827_Landesmuseum_Mannheim 200702 200703 20070310_Teufelsklaue 20070311_Eisenbahnmuseum_Neustadt 20070318_Landesmuseum_Mannheim 20070325_Frankfurt_Hafenbahn 20070401_Eisenbahnmuseum_Kranichstein 20070406_Dampfzug_mit_23042_Bensheim-Worms 20070408_Dampfzug_Ostbahnhof-Bessunger_Forsthaus 20070409_Kuckucksbähnel 20070414 20070415_Eisenbahnmuseum_Heilbronn 20070429-30_Eisenbahnmuseum_Dahlhausen 20070501_Münster 20070506_Alter_Wasserturm_Weinheim 20070508 20070510 20070513_Bayerisches_Eisenbahnmuseum_Nördlingen 20070518-19_Bahnwelten_Kranichstein 20070520_Richards_Konfirmation

I added a screenshot from geeqie and one from gqview.

Regards

Michael

Original comment by: micha_bee

mowgli commented 14 years ago

Original comment by: zas_

mowgli commented 14 years ago

Hi,

it should be fixed in revision 1881.

Please try and re-open bug if not ok for you.

Original comment by: zas_

mowgli commented 14 years ago

Works perfectly now. Thank you!

Original comment by: micha_bee

mowgli commented 14 years ago

Original comment by: zas_