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 321424 - Original folder export format places caption in incorrect file
Original folder export format places caption in incorrect file
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: General
CVS
Other Linux
: Normal normal
: ---
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2005-11-14 10:56 UTC by Matt Brown
Modified: 2006-02-20 08:19 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Patch to fix caption file naming (678 bytes, patch)
2005-11-14 11:00 UTC, Matt Brown
none Details | Review
Revised patch that does not modify the <span> tags (762 bytes, patch)
2006-01-19 07:51 UTC, Matt Brown
none Details | Review

Description Matt Brown 2005-11-14 10:56:54 UTC
Distribution/Version: Ubuntu/Breezy

When exported a folder with the 'Original' gallery format chosen the captions
are placed in an incorrectly named file. This results in the caption for each
image not being visible through the Original gallery script.

Steps to Reproduce:
1) Select some photos to export (ensure they have captions)
2) Choose File > Export > Export to Folder
3) Choose 'Use Original' as export method, specify path to Original gallery dir
4) Export Photos
5) Go to Original gallery, observe that captions are not displayed

Actual Behaviour:
Within the created folder structure captions are placed in files named
comments/img-Xtxt where X is the image number in the gallery. 

Expected Behaviour:
(This is for Original 0.10 - the current release, I'm not aware if the behaviour
differed in previous Original releases).

The captions should be placed in files named comments/X.txt where X is the image
number in the gallery.

Resolution:
There is a patch attached to this bug against F-spot CVS on 14-Nov-2005 that
fixes this bug.
Comment 1 Matt Brown 2005-11-14 11:00:14 UTC
Created attachment 54725 [details] [review]
Patch to fix caption file naming

This patch corrects the name of the file that image captions are placed in
during the Original folder export process.

The patch can also be found at
http://www.mattb.net.nz/patches/f-spot/original-export-captions.diff
Comment 2 Jakub Steiner 2006-01-10 17:54:25 UTC
if you don't want to include the photo name and number, drop the <span>. Otherwise the patch looks appropriate.
Comment 3 Matt Brown 2006-01-19 07:51:15 UTC
Created attachment 57631 [details] [review]
Revised patch that does not modify the <span> tags
Comment 4 Larry Ewing 2006-02-20 08:19:40 UTC
this has been fixed in cvs for a while