[Digikam-devel] Contribution: Getting started

Gilles Caulier caulier.gilles at gmail.com
Wed Oct 22 15:16:29 BST 2014


Hi,

Thanks for your help.

Please use exclusively git/master code to hack and make patches.
Patches must be posted to relevant bugzilla entries.

Rename action is managed on top level here :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/app/main/digikamapp.cpp#L1021

This call this method in view :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/app/views/digikamview.cpp#L1822

redirected to icon-view here :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/app/items/digikamimageview.cpp#L651

Which launch rename dialog. The current selection is passed
byDigikamView::selectedUrls(). Rename dialog perform files renaming in
background and digiKam ScanController will detect files changes from
file system. icon-view contents will change accordingly with
ScanController results.

So, the IconView selection to restore is not simple to do. You must
take a care about original file names which will be changed by rename
tool, wait ScanController end and restore selection.

Best

Gilles Caulier

2014-10-21 19:24 GMT+02:00 Koushik S <skoushik333 at gmail.com>:
> Hello,
>
>     I'm interested in contributing to the project and needed some guidance
> on that. I have compiled and installed digikam from source, and went through
> some of the bugs posted at the bugtracking system.
>
>     I found Bug 306767 (https://bugs.kde.org/show_bug.cgi?id=306767) to be a
> simple bugfix (I think) with some help. I started to understand a bit of the
> codebase, and I found that the selection is done by the drawFocusRect in the
> itemviewimagedelegate.cpp file, but I'm not sure how to move on from there.
> Any guidance would be helpful.
>
> --
> regards,
> Koushik. S
>
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>



More information about the Digikam-devel mailing list