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

--- Comment #5 from Kartik <kartikx2...@gmail.com> ---
Hi Nghia,

The Top Level Connections for the Deleting button are done in DigikamItemView.
The Delete Button forms part of a FaceRejectionOverlay, and the signal for
pressing the delete button is set here:
https://invent.kde.org/graphics/digikam/-/blob/master/core/app/items/views/digikamitemview.cpp#L342.

The
removeFaces(https://invent.kde.org/graphics/digikam/-/blob/master/core/app/items/views/digikamitemview.cpp#L411)
method then delegates deletion to a FacePipeline. I think you might be familiar
with FacePipeline functionality. DatabaseWriter works with the FacePipeline and
picks up the package (when its time for being processed arrives), and then
calls the FaceUtils method for actual removal of the Image-Tag association:

See this connection for DatabaseWriter with FaceUtils:
https://invent.kde.org/graphics/digikam/-/blob/master/core/utilities/facemanagement/workers/databasewriter.cpp#L142.

There's multithreaded implementations that lead to DatabaseWriter picking up
the package sent via FacePipeline, however it isn't necessary to worry about
that in my opinion.

Kartik

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to