[Digikam-users] Bug fixing in digikam

Gilles Caulier caulier.gilles at gmail.com
Mon Nov 24 12:28:51 GMT 2014


Edit/Metadata digiKam menu entry is populated by a kipi plugin :

https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/revisions/master/show/metadataedit

The menu action instance is created directly in the plugin here :

https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/revisions/master/entry/metadataedit/plugin/plugin_metadataedit.cpp#L115

digiKam is a Kipi host, which use libkipi interafce to communicate
with the plugin.
If user change items selection from icon view, plugin will receive this signal :

https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/revisions/master/entry/metadataedit/plugin/plugin_metadataedit.cpp#L117

Which will be propagated to the action directly...

Rerouting the signal to a dedicated slot can be a solution to analyse
items selection if files are read-only or not, before to enable the
action accordingly.

Q: what we must do in case of multiple items selection where some are
RO and other RW ?

About KIPI interface API, look here :

https://projects.kde.org/projects/kde/kdegraphics/libs/libkipi

Gilles Caulier


2014-11-24 13:13 GMT+01:00 Yagyank Chadha <yagyank at gmail.com>:
> I am trying to fix https://bugs.kde.org/show_bug.cgi?id=145253 but I dont
> know from where to start. I tried searching the keyword of bug(in this case
> metadata) on lxr.kde.org but got more than 100 results.Plz guide me on how
> to start
>
> --
> Kind Regards,
> Yagyank chadha
>
>
> Undergraduate student
> Computer Science Engineering
> Thapar University, Patiala
>
>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
>



More information about the Digikam-users mailing list