[Digikam-devel] [Bug 190055] Ability to apply metadata changes to multiple pictures at once

Marcel Wiesweg marcel.wiesweg at gmx.de
Mon Jul 27 16:23:57 BST 2009


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





--- Comment #27 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-07-27 17:23:52 ---
I am not quite sure what you mean with "boolean operator".

Generally, to solve this like for comment and tags, I think metadatahub should
store the status (invalid, available, disjoint) for each field of the template.
(That's how it's done for tags: Status is individual for each single tag). Only
fields with status "available" are written. Fields are "available" if they have
been identical for all loaded images or when the user edits them. In the
example above, the status for "location" fields is "disjoint" and they wont be
written.

For implementation, we can use MetadataHubPriv::loadSingleValue for each single
field of the template instead of the template as a whole.
When passing to DMetadata and the database classes for writing, it would come
handy to have a "TemplateMask" class specifying which values to write. Maybe a
class having a bool value for each Template member variable.

-- 
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