[Digikam-devel] [Bug 155374] Allow setting Image titles different than image file name [patch]

Siu Chung Cheung (Clement) clement.cc at gmail.com
Sat Jun 5 08:16:44 BST 2010


https://bugs.kde.org/show_bug.cgi?id=155374





--- Comment #22 from Siu Chung (Clement) Cheung <clement cc gmail com>  2010-06-05 09:16:37 ---
#17, #21: Okay. It's single line edit then. We can worry about the overload
problem later since I'm still very busy right now.

#20: Time this weekend seems kind of tight. But I'll see what I can do. Can't
guarantee I can make it though.

#18: I don't think you're correct about the duplicated title.

Suppose you currently have your caption field like this:
<title>

<description>


But your title field must be currently empty since it doesn't exist yet.

This will currently export to flickr as:
title field = filename
caption field = title + description

Picasa will get:
caption field = title + description

After the update, you get this:

Flickr:
title field = empty (but in my tests, flickr will put the filename in there
when it's empty)
caption field = title field + title + description = empty + title + description
= title + description

Picasa:
caption field = title field + title + description = empty + title + description
= title + description

This gives you the exact same result as before for all cases.

Remember that the new title field is empty until you put something in there.
You can see title field + title in the above equation but since the new title
field will never actually contain the title in pictures processed before this
change, it gives you null, not title.

This change should be fully backward compatible unless you've been doing
something wacky...

Like Hamish said, I believe the current approach is the right thing to do since
it automagically degrades gracefully for services that doesn't support titles.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list