Bug 501495 - Delete all face tags, no JPG changes
Summary: Delete all face tags, no JPG changes
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Workflow (show other bugs)
Version: 8.6.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-14 15:31 UTC by Andy
Modified: 2025-03-14 21:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy 2025-03-14 15:31:34 UTC
Hi!
I noticed something else.
It doesn't matter whether delayed metadata synchronization is enabled or not.
If I right-click to delete all face markers, the photo should be queued or the change should be written directly to the JPG. But nothing happens. Only when I redetect the faces and finally confirm one of them does the photo go into the queue. Or the change is written to the JPG.

Regards
Andy
Comment 1 Maik Qualmann 2025-03-14 15:37:40 UTC
This is normal if the faces were unknown or unconfirmed. There's nothing to write; this information is only in the database. Only when a confirmed face is deleted or added does metadata need to be written.

Maik
Comment 2 Andy 2025-03-14 15:42:07 UTC
Hi!
There were already confirmed faces. I deleted those too.

Andy
Comment 3 Andy 2025-03-14 15:44:38 UTC
The information of the confirmed faces was deleted from the database, but not in the JPG.
Comment 4 Maik Qualmann 2025-03-14 15:58:54 UTC
Ok, this is a regression in the current code, I tested it here.

Maik
Comment 5 Michael Miller 2025-03-14 17:09:45 UTC
(In reply to Maik Qualmann from comment #4)
> Ok, this is a regression in the current code, I tested it here.
> 
> Maik

Maik/Gilles, do we want to delay 8.6.0 for a day to fix?

Cheers,
Mike
Comment 6 Maik Qualmann 2025-03-14 21:38:38 UTC
Git commit 224d30f39980cb59f96f45199c25fe3659192c12 by Maik Qualmann.
Committed on 14/03/2025 at 21:37.
Pushed by mqualmann into branch 'master'.

add pipeline to remove all faces from image
FIXED-IN: 8.7.0

M  +1    -1    NEWS
M  +1    -1    core/utilities/facemanagement/items/facegroup.cpp
M  +20   -0    core/utilities/facemanagement/pipelines/edit/facepipelineedit.cpp
M  +2    -0    core/utilities/facemanagement/pipelines/edit/facepipelineedit.h
M  +11   -1    core/utilities/facemanagement/pipelines/facepipelinepackagebase.cpp
M  +5    -1    core/utilities/facemanagement/pipelines/facepipelinepackagebase.h

https://invent.kde.org/graphics/digikam/-/commit/224d30f39980cb59f96f45199c25fe3659192c12