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 479987 - Camera import: Create directory for each day and ask for comment
Camera import: Create directory for each day and ask for comment
Status: RESOLVED OBSOLETE
Product: gthumb
Classification: Other
Component: general
2.11.x
Other All
: Normal enhancement
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2007-09-24 21:51 UTC by Sven Anders
Modified: 2015-12-18 17:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sven Anders 2007-09-24 21:51:38 UTC
When downloading images from the camera ask for a comment for each new day. Store these as comments and (if wanted) create a directory for each day (with the name of the event in it).

Possibly make the directory format selectable.
Example:
 %Y_%M_%D-%e
for
 2007_09_24-Susi's Birthday
Comment 1 Matthias Hawran 2007-12-14 12:14:30 UTC
Hi,

The per day (or custom date) directory grouping is handled in bug #431187

However there is no implementation of a daily prompted comment.

I agree with this request.

Cheers,
Matthias
Comment 2 Matthias Hawran 2007-12-14 12:56:12 UTC
We may need to reorganize the UI (?)

My thoughts :
- Have some import options moved to a preference tab : grouping option, grouping
format
- If you use the "description per day" option (%e or %p...), 
  a different import dialog will open up per day, 
  with only the pictures of the day displayed, 
  with a textbox to fill in the description.
  Then you import.
  You would have a more simple import dialog (less option displayed) per day.
- Else one import dialog with all the pictures, 
  still more simple (less option displayed)

These are only thoughts...

Voila :)
Matthias

Comment 3 Michael Chudobiak 2007-12-14 13:27:18 UTC
Continuing discussion from bug 431187 ...

> What do you mean by "left for the browser view" ?

I meant: rename the folders after they are imported.

 
> - Have some options moved to a preference tab : grouping option, grouping
> format

No. It should be clear from the import dialog exactly where the files will go.


> - If you use the "description per day" option (%e or %p...), 

%e and %p are already used by the date functions.


>   a different import dialog will open up per day, 
>   with only the pictures of the day displayed, 
>   with a textbox to fill in the description.

I would be willing to accept a patch that interpreted uppercase tokens enclosed in square brackets (like [PROMPTME]) in the custom subfolder specification as user prompts. Tokens like %e are a bad idea, because they conflict with the strftime codes. However, I've seen programs (like MS Access, actually) use [whatever] for user prompts.

This would require no changes to the import dialog, but it would need an all-new prompt dialog, with thumbnails presumably.

If someone wants to code that, please go ahead. It is not a priority for me, so I'm not going to do it any time soon :-)

- Mike
Comment 4 Matthias Hawran 2007-12-14 14:03:40 UTC
(In reply to comment #3)
> If someone wants to code that, please go ahead. It is not a priority for me, so
> I'm not going to do it any time soon :-)
> 
> - Mike
>

No problem, I understand ;)

I get the point for the token choice.
Well at least we're going into details about this feature implementation possibilities.
I'm ok with your [PROMPTME] token style.
Interpreting should not be too difficult, but creating a new dialog is another task.
(This motivates me for finally looking at the code...)

Matthias
 

Comment 5 Michael Chudobiak 2007-12-15 14:51:29 UTC
(In reply to comment #4)
> Interpreting should not be too difficult, but creating a new dialog is another
> task.
> (This motivates me for finally looking at the code...)

Actually, maybe we could simplify this a lot by improving the existing import-thumbnail display. After importing begins, we could hide:

1) the thumbnails that are not associated with the active subfolder
2) the thumbnails that have already been imported

The thumbnail display would be refreshed after each import.

Then the prompt dialog would just be a simple text dialog.

- Mike
Comment 6 Matthias Hawran 2007-12-17 10:36:10 UTC
When you say "active subfolder" you mean a specific date is displayed somewhere
and that a gouping option is selected.

That means the thumbnail can be refreshed by changing the grouping option for example ?
(I'm asking because I don't know the dynamic possibilities of the software / UI)

So I guess you keep the import dialog until everything has been imported.

And we prompt with a simple text dialog only if the [PROMPTME] token has been found.

Well that sounds good !

Other detail :
- If multiple dates, do you import in one shot or stop after each date 
and user has to press 'import' again ?

- How do you hide 2), meaning how do you know which photos have been imported already ?


Matthias

Comment 7 Sven Anders 2007-12-17 11:13:20 UTC
> - If multiple dates, do you import in one shot or stop after each date 
> and user has to press 'import' again ?

It should only stop, if the program has to prompt for data ([PROMPTME]).
I such a case it should preset the text of the last text we prompted for
(because an event can last some days, link holidays) and after answering
the prompt, it should continue...
Comment 8 Andrew Jackson 2007-12-28 03:06:12 UTC
My 2 cents is that this is probably overkill for the import function. Presumably you are going to go through the files after importing to delete the disasters and mark the "keepers" anyway. So renaming folders or adding metadata is surely better done at that point.
Comment 9 Sven Anders 2007-12-30 21:41:20 UTC
Hello Andrew!

Not everbody has the time to do this thoroughly. I'm happy if the program ease as many workload as possible. If you do not want to use this feature, turn it off...

And I think, during import is the right time - you will be forced to enter a short description! I know myself and sometimes I'm lasy ;-)

(Just my two cents!)
Comment 10 Matthias Hawran 2010-04-02 15:37:43 UTC
Upping this report because 2.11.x has made progress regarding the import feature.

As I said in comment 1, the destination directory can be a custom format using strftime codes.

Plus now the dialog as an "Event" field which can be used in the custom format with the %E code.

Give it a try. We'll be able to close this report if you agree.

Cheers,
Matthias
Comment 11 Sven Anders 2010-04-06 23:31:09 UTC
Ok. The "custom format" is fine.
Here you can make some minor improvements:
1) Show a little help (popup or tooltip) with the codes
   the user can use.
2) Show empty field in example as "<...>".
   Reason: If the Event field is empty "%E" will show nothing
           in the example. It would be nice if I can see the 
           string "<event>" instead.

But, I still missing the "Ask for a comment for each new day"
function. This is what I have in mind:

Normally I want to try to import ALL images from my digital
camera at once. I'll connect my camera and the Systems ask
which program to start. I select gthumb and it opens the
import dialog (showing all images). All images are preselected
for download. If I do not select any individual files, the
dialog will ask for a new event name (and maybe tag) for each
new day it finds. It will present the previous entered event
in the dialog, so I can just confirm the same event/comment
for this day too (in the case of multi-day events) or I can
simply change it. For example I download my holiday images
and entered the first day "Australia - Arrival in Sydney". 
Now I can change it on the second day to "Australia - Day 2 in Sydney".

This would make it very easy to download all at images quickly
and force me to set comments to each of it.

Maybe we can add a simple checkbox "Use for all", to use the
same event/comment for all following days.

We could use '%Q' as a new code to query the event.

One more idea: Make the "new day" configurable. Compare the
day of the timestamp or assume a new event begins if the times
are more than 8 hours apart. Maybe the time should be configurable.
Comment 12 Michael Chudobiak 2015-12-18 17:46:04 UTC
Marking as obsolete, as the 2.x version are no longer supported.

Please feel free to reopen this bug report if it describes a problem that still occurs with a current version of gThumb (currently 3.4.1).