Bug 278347

Summary: FACTORING : allow to ignore duplicates before to process items
Product: [Applications] digikam Reporter: julien.t43+kde
Component: Plugin-Generic-WishForNewToolsAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: caulier.gilles, shouryasgupta
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description julien.t43+kde 2011-07-23 17:07:23 UTC
Version:           2.0.0 (using KDE 4.6.2) 
OS:                Linux

If for some reason, your export (for example, picasaweb export) has failed and you restarted it, you will have some images which already exist.

Kipi offers you to replace/replace all, add/add all and cancel operations.
You don't have the choice ignore/ignore all (at least if images matches - depending on checksum or metadata)

Reproducible: Always

Steps to Reproduce:
Export some images to picasa, interrupt the upload with close button
restart it again

Actual Results:  
You obtain the previously mentions dialog with add/replace/cancel

Expected Results:  
dialog with add/replace/ignore/cancel
Comment 1 julien.t43+kde 2012-07-07 01:59:18 UTC
Retry today with 2.6.0/ppa and export in picasa: only choice: add as new, add all, replace, replace all, cancel. so still apply
Comment 2 caulier.gilles 2018-11-03 11:00:03 UTC
WARNING : with digiKam 6.0.0 and later, we will not support kipi interface anymore. All tools are now located in digiKam core as well for a plan to provide a more power-full integration with Batch Queue Manager and to be able to export a workflow on a web-service.

All export tools are now available everywhere : album view, Image editor, Light table, and Showfoto. Previously, only album view from digiKam core was able to deal with export tools through libkipi.

All export tools are now located here :

https://cgit.kde.org/digikam.git/tree/core/utilities/assistants/webservices

All export tools use now a dedicated interface to communicate with the application : 

- digiKam (database) : 

https://cgit.kde.org/digikam.git/tree/core/libs/database/utils/ifaces/dbinfoiface.h

- Showfoto (files metadata) : 

https://cgit.kde.org/digikam.git/tree/core/utilities/assistants/common/dmetainfoiface.h


There is not direct use of digiKam database for compatibility with Showfoto.

We plan later to provide a dynamic loading of export tools using a plugins mechanism. This will reduce overloading of the internal core libraries. A dedicated devel branch have been created for that, but it's not yet complete:

https://cgit.kde.org/digikam.git/tree/?h=development/dplugins

But take a care, digiKam export tools as plugins will not be shared with another external application. API will still private and only shared between Showfoto and digiKam core. The experience with libkipi was bad and complex to maintain/extend in time.

Gilles Caulier