Bug 428427 - Some metadata (tags, captions) not applying to grouped images
Summary: Some metadata (tags, captions) not applying to grouped images
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-ItemGroup (show other bugs)
Version: 7.2.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-29 12:09 UTC by meku
Modified: 2020-10-31 07:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.2.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description meku 2020-10-29 12:09:34 UTC
SUMMARY
Applying a tag or caption to a group of images using the Captions widget only updates the top (visible) image. The setting in [Miscellaneous >> Grouping >> Metadata >> Perform operations on all group members] is not respected.

Right clicking a group of images and selecting [Assign Tag] DOES work as expected and respects the above settings.

Applying Labels to a group of images DOES also work as expected.

STEPS TO REPRODUCE
1. Create a group of images, leave group closed
2. Select group
3. Use RHS Caption widget to apply a tag.

OBSERVED RESULT
Metadata is only applied to visible image of the group.

EXPECTED RESULT
The setting in [Perform operations on all group members] should be respected, if 'Yes' then metadata should be applied to all images in the group.
Comment 1 meku 2020-10-29 12:31:16 UTC
To clarify for the Picks and Labels:

Applying Labels to a group of images using the RHS Caption widget _DOES NOT_ work.

Assigning Labels using right click menu or keyboard shortcut DOES apply to all members in the group.
Comment 2 Maik Qualmann 2020-10-29 14:19:38 UTC

*** This bug has been marked as a duplicate of bug 388899 ***
Comment 3 Maik Qualmann 2020-10-29 14:22:43 UTC
I'll take another look in the days. There was some reason it wasn't that easy to fix.

Maik
Comment 4 meku 2020-10-30 08:17:18 UTC
This bug appeared in 7.1.

Tags, captions, and labels were working as expected in 7.0
Comment 5 meku 2020-10-30 08:21:10 UTC
Sorry I speak too soon. Behaviour has changed between 7.0.0 and 7.1.0 but neither was correct.

Neither version respected the setting [Perform operations on all group members].

In 7.0.0 it always operated on all group members.

In 7.1.0 and later it never operates on group members.
Comment 6 Maik Qualmann 2020-10-30 08:28:40 UTC
Yes, I checked last night. I made the change. We always processed otherwise grouped items, the option to ask did not exist. There is also an issue with the new Selected Properties tab. I need to fix it properly.

Maik
Comment 7 meku 2020-10-30 08:38:44 UTC
In Tags manager selecting a group in 7.0.0 would highlight tags from all members, as if you had opened the group and selected all the group members.

From 7.1.0 selecting a group only highlights tags from the top member.
Comment 8 Maik Qualmann 2020-10-31 07:52:43 UTC
Git commit 41fe3171755581224295e038648834ef0170d82d by Maik Qualmann.
Committed on 31/10/2020 at 07:51.
Pushed by mqualmann into branch 'master'.

apply the setting for grouped items in the setup
Related: bug 388899
FIXED-IN: 7.2.0

M  +3    -1    NEWS
M  +3    -1    core/app/views/stack/itemiconview_items.cpp

https://invent.kde.org/graphics/digikam/commit/41fe3171755581224295e038648834ef0170d82d