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 511569 - Allow user to configure photo directory layout
Allow user to configure photo directory layout
Status: RESOLVED WONTFIX
Product: f-spot
Classification: Other
Component: Import
0.4.x
Other All
: Normal enhancement
: ---
Assigned To: F-spot maintainers
F-spot maintainers
gnome[unmaintained]
: 619146 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-01-23 15:46 UTC by Martin Pitt
Modified: 2018-07-12 00:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add import target dir selector (3.88 KB, patch)
2008-01-23 15:48 UTC, Martin Pitt
none Details | Review
add import target dir selector (4.16 KB, patch)
2009-05-05 09:08 UTC, Martin Pitt
needs-work Details | Review
Banshee folder structure preferences (12.40 KB, image/png)
2010-06-29 13:57 UTC, Ruben Vermeersch
  Details

Description Martin Pitt 2008-01-23 15:46:10 UTC
In Ubuntu we would like to make F-Spot suitable as the default photo import and management implementation. This requires that users can continue to use their already existing photo collection, which often has a structure wildly different from F-Spot's.

To solve 95% of the design conflict between how F-Sport wants to import photos and how users want to have the files arranged on their disks, the camera import dialog should have a destination directory chooser.

I cooked a patch for this which I will upload to the current Ubuntu development version now. It adds a directory selector which defaults to FSpot.Global.PhotoDirectory (currently ~/Photos, which is wrong and not XDG user dir compatible, but that's a different bug) and does not alter the /yyyy/mm/dd structure for this directory, but it does not use it for a custom directory.

It might not be ideal yet, but it's a start. What do you think?
Comment 1 Martin Pitt 2008-01-23 15:48:09 UTC
Created attachment 103551 [details] [review]
add import target dir selector
Comment 2 Maxxer 2008-01-23 20:47:13 UTC
This patch will work only on camera import.
A similar option should be placed also in "import_dialog" for consistency, isn't it?
Comment 3 Martin Pitt 2008-01-24 09:39:16 UTC
I'm not entirely sure about how to design it. That import dialog already has a checkbox for 'Copy files to photo directory'. IMHO this should disappear and be replaced by the same 'Target location:' directory selector.

I'm happy to extend the patch accordingly. I just wanted to put the initial version here for discussing it with you guys. No point in working against each other. :)

Thanks, Martin
Comment 4 Maxxer 2008-01-24 13:37:58 UTC
(In reply to comment #3)
> I'm not entirely sure about how to design it. That import dialog already has a
> checkbox for 'Copy files to photo directory'. IMHO this should disappear and be
> replaced by the same 'Target location:' directory selector.

I've talked to a maintainer. The import dialogs are subject to change in the (hopefully near) future. 
This means it's not worth while spending too much time in making it consistent with the other import method.

I don't know if your patch will be included before or after the refactoring. 


Have you tested it extensively? There was a bug in the past with a similar feature.
Comment 5 Martin Pitt 2008-01-24 18:27:08 UTC
Thanks for the feedback.

Wrt. testing, I could only check a camera SD card so far. Next week, when I'm back home, I'll test it with a PtP (libgphoto) one.
Comment 6 Marcus Sundman 2008-11-18 22:41:43 UTC
IMO the Edit->Preferences->Folder should support both a base folder (like it does now) and a subfolder-pattern, such as: "%Y/%m" or "%y_%M" or "%Y/%V" (for "2008/11", "08_11" and "2008/47", respectively). I suggest to use the format of strftime, since that's quite common and readily available. See e.g. here: http://www.manpagez.com/man/3/strftime/
Comment 7 Raphael Jolivet 2009-05-02 21:08:04 UTC
I agree with the proposal of Marcus.
I think the dialog should propose both :
A subfolder format with a default value (like %Y/%m/%d - %name) and that should be configurable in the preferences, and the name of the album, asked for each import. 
Comment 8 Martin Pitt 2009-05-05 09:08:49 UTC
Created attachment 134006 [details] [review]
add import target dir selector

Fix bug to only show the photos directory if it actually exists.
Comment 9 Iain Lane 2009-08-26 19:25:20 UTC
File.Exists -> Directory.Exists in that patch, as discovered by Ubuntu users
Comment 10 Maxxer 2010-05-20 08:06:07 UTC
*** Bug 619146 has been marked as a duplicate of this bug. ***
Comment 11 Sebastien Bacher 2010-06-16 10:25:06 UTC
is that something upstream could consider using? we still ship the change in Ubuntu
Comment 12 Ruben Vermeersch 2010-06-24 14:49:22 UTC
Comment on attachment 134006 [details] [review]
add import target dir selector

Maintenance update: In the past we've been less than stellar in reviewing patches. As such we have a pile of patches in bugzilla which are outdated and don't apply anymore. Am currently marking all of these as "needs-work". My apologies for this.

Since I've become a maintainer of the project, I've set the personal rule of quickly reviewing all patches, to avoid that this happens again. If you (or anyone) wants to go through the trouble of updating this patch, please talk to us to figure out if it fits in the F-Spot long term roadmap.

Should you, in the future, notice a patch lingering around for too long, please notify us immediately and we'll look into it, to avoid situations like these from happening again.

You can filter these mails by searching for ###F-OLDPATCHCLEANUP###
Comment 13 Martin Pitt 2010-06-29 09:57:59 UTC
Indeed it seems that the code changed completely in trunk. I'll check out the current status of trunk.

I'm happy to port the patch to trunk if you are interested in adopting this functionality? The original rationale still applies.

Thanks, Martin
Comment 14 Ruben Vermeersch 2010-06-29 13:56:50 UTC
I'm tempted to close this as WONTFIX. Not because I feel that we should not offer this to the users, but because I feel that we should not offer it in this way.

From the F-Spot vision statement [1]:

> F-Spot is a cross platform application for organizing thousands of photos.
> It shuns 'organizing in folders.' instead, metadata is the basis for viewing
> and drilling down the collection. Adding and maintaining metadata is easy and
> enjoyable in F-Spot.

Files and folders are a really bad way of handling photos. The file name is basically meaningless and we all know that only really techy users are capable of maintaining a clean folder tree (well, some of them).

Working with metadata (tags / people / places / events / ... [2]) allows us to give custom browsing modes, based on how the user wants to explore his collection. How it's organized on disk shouldn't matter, nor should the user care.

Does this mean that the user should not be able to have any control over the folder layout? Not really, but I'd rather not have it in the import dialog. What I'd rather see happening is to have a preference for this, similar to what Banshee does [3]. They allow customization of the folder structure, in a clean way. The average user though doesn't (and shouldn't) care about all this. My mum certainly doesn't.

Am not closing this bug right away, as I'd love to hear your thoughts on this.


[1] http://f-spot.org/Goals
[2] We currently only do tags properly, that will change.
[3] Attaching screenshot.
Comment 15 Ruben Vermeersch 2010-06-29 13:57:22 UTC
Created attachment 164889 [details]
Banshee folder structure preferences
Comment 16 Martin Pitt 2010-06-29 18:24:12 UTC
(In reply to comment #14)
> Files and folders are a really bad way of handling photos. The file name is
> basically meaningless and we all know that only really techy users are capable
> of maintaining a clean folder tree (well, some of them).

Well, I'm a techy user, and do it that way. Incidentally, my parents do that as well, because (1) they often copy the stuff around on USB sticks, and (2) they wouldn't even know what a tag is.

I don't go through the trouble of renaming individual files (mostly, anyway), but I have one directory per event. That way I can easily copy stuff to USB sticks or to my server and have a web gallery, and can present photos in other programs as well (or even OSes).

The problem right now is that F-Spot owns your photo files, which is fine as long as you use nothing else. Contrary to that, Rhythmbox does it exactly right; your banshee screenshot seems to indicate that Banshee has a pretty similar model. It keeps the files as they are and respects user's choice for how the hierarchy looks like, and still the UI does not expose files and directories, but just genres/artists/etc., i. e. tag info.

> Working with metadata (tags / people / places / events / ... [2]) allows us to
> give custom browsing modes, based on how the user wants to explore his
> collection.

Absolutely, I'm not denying that. (I don't personally use tags because they aren't portable, unlike ID3, but I know and appreciate that many people do).

> How it's organized on disk shouldn't matter, nor should the user
> care.

He should and will once she wants to give the photos of an event to someone 
else or copy it around, though?

Anyway, the design decision how F-Spot handles its files is of course your prerogative, I'm just pointing out the rationale why I do things differently and why I don't think that it's such a techy thing.

> Does this mean that the user should not be able to have any control over the
> folder layout? Not really, but I'd rather not have it in the import dialog.
> What I'd rather see happening is to have a preference for this, similar to what
> Banshee does [3]. They allow customization of the folder structure, in a clean
> way.

I fully agree. Instead of a target directory, having an input line for "event name" would be much friendlier. It could serve as a default tag, and depending on the folder settings it would put files there (i. e. $XDG_PICTURES_DIR/<event name>) or just right now in F-Spots by-date/day hierarchy.

Thanks for following up!
Comment 17 Martin Pitt 2010-06-29 18:25:01 UTC
I retitled the bug to be more in line with what you said, does that sound better to you?
Comment 18 André Klapper 2018-07-12 00:07:54 UTC
F-Spot has moved to https://github.com/f-spot/f-spot/issues

If this Bugzilla ticket is still valid in a recent version of F-Spot, please feel free to post this topic as a ticket in the F-Spot project on GitHub.

Closing this report as WONTFIX as part of Bugzilla Housekeeping as we are planning to shut down GNOME Bugzilla in favor of GNOME Gitlab.