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 325043 - Folder Export Uses Reverse Chronological Order
Folder Export Uses Reverse Chronological Order
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: General
CVS
Other All
: Normal normal
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-27 07:42 UTC by Scott Jones
Modified: 2006-02-21 02:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (946 bytes, patch)
2005-12-27 08:51 UTC, Scott Jones
none Details | Review

Description Scott Jones 2005-12-27 07:42:18 UTC
Please describe the problem:
The ordering of the images exported by f-spot for a Folder Export (I use
Original) is now reversed since the images now have the newest ones at the top.

Steps to reproduce:
1. Select a set of images
2. Export to a Folder


Actual results:
Images are exported in the reverse order

Expected results:
Images to be exported in the correct (chronological) order.

Does this happen every time?
Yes

Other information:
Comment 1 Scott Jones 2005-12-27 08:51:01 UTC
Created attachment 56424 [details] [review]
Patch

This patch works for me. 

It also corrects the file names for comments (I did not file a bug on this, which should be simply the image number.txt without the "img_" prefix).
Comment 2 Larry Ewing 2006-01-06 19:24:35 UTC
Thanks for the patch, I'm going to hold off for a couple days while I consider the issue.

This is a general problem with the reversed timeline, the slideshow exhibits the same issue.  It would be simple to just call reverse on the array before the new collection is created but we would probably need to know if the current sort is reversed or not.
Comment 3 Scott Jones 2006-01-06 19:37:14 UTC
OK.  Should I file a new bug on the comment file names, and split out that part of the patch?  It's a minor correction, but doesn't work with the current Original.
Comment 4 Larry Ewing 2006-01-06 20:27:02 UTC
I've committed that change now. Thanks for reminding me again. 
Comment 5 Bengt Thuree 2006-02-20 05:30:58 UTC
With the latest CVS, slideshow still shows everything in reversed order.
Comment 6 Gabriel Burt 2006-02-21 02:21:24 UTC
It sounds like Larry commited the comments part, and the date ordering is now configurable.  Export will use whatever sorting is used in the main photo view.