After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 326621 - Sort by command line order
Sort by command line order
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.6.x
Other All
: Normal enhancement
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2006-01-11 15:58 UTC by odie
Modified: 2007-01-11 18:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Partial patch to fix command-line-ordering (4.18 KB, patch)
2007-01-11 15:21 UTC, Michael Chudobiak
none Details | Review

Description odie 2006-01-11 15:58:41 UTC
I would really like for gthumb to display images in the order I supply from the 
command line. Currently, gthumb always sorts the images before displaying. An 
option to turn this sorting off would enable users (like me) to sort the images 
with an external script and then pass the ordered list of filenames to gthumb 
for slideshow display.
Comment 1 Michael Chudobiak 2007-01-11 15:21:24 UTC
Created attachment 80031 [details] [review]
Partial patch to fix command-line-ordering

Paolo,

This is a partial patch that makes the "slide" mode follow the command-line ordering of files. 

It sets the manual sorting mode when launched with a command line catalog. Also, it consolidates the no-sorting comparison routines into the gth-sort-utils.c file.

For some reason, it doesn't work properly for the "list" mode. I don't fully understand the tree sorting in the list mode - I think something is wrong with the unsorted/manual tree code. Could you take a look?

- Mike
Comment 2 Michael Chudobiak 2007-01-11 17:50:10 UTC
Never mind. I'm figuring it out.

- Mike
Comment 3 Michael Chudobiak 2007-01-11 18:10:43 UTC
Fixed in the development version (svn rev 1261). The fix will be available in the next major release (2.9.2?). Thank you for your bug report.
Comment 4 odie 2007-01-11 18:19:40 UTC
Thank you for fixing it (and with a less than one year respnse time ;)!