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. -- regards, Koushik. S_______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
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 <[hidden email]>: > 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 > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-devel > Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Koushik,
Patch applied to git/master and bug #306767 closed. Do you plan to work on another bugzilla entry ? Best Gilles Caulier 2014-10-22 16:16 GMT+02:00 Gilles Caulier <[hidden email]>: > 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 <[hidden email]>: >> 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 >> [hidden email] >> https://mail.kde.org/mailman/listinfo/digikam-devel >> Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Hi, That's great! And yes, I do plan on working on another bugfix, specifically, Bug 335661 (https://bugs.kde.org/show_bug.cgi?id=335661). I'm still sifting through the source code to understand how it works.On Thu, Oct 23, 2014 at 6:37 PM, Gilles Caulier <[hidden email]> wrote: Koushik, -- regards, Koushik. S_______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Koushik,
I will post all technical details to bug #335661 after noon (i take train to go to Paris today) Best Gilles Caulier 2014-10-23 15:48 GMT+02:00 Koushik S <[hidden email]>: > Hi, > > That's great! And yes, I do plan on working on another bugfix, specifically, > Bug 335661 (https://bugs.kde.org/show_bug.cgi?id=335661). I'm still sifting > through the source code to understand how it works. > > On Thu, Oct 23, 2014 at 6:37 PM, Gilles Caulier <[hidden email]> > wrote: >> >> Koushik, >> >> Patch applied to git/master and bug #306767 closed. >> >> Do you plan to work on another bugzilla entry ? >> >> Best >> >> Gilles Caulier >> >> 2014-10-22 16:16 GMT+02:00 Gilles Caulier <[hidden email]>: >> > 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 <[hidden email]>: >> >> 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 >> >> [hidden email] >> >> https://mail.kde.org/mailman/listinfo/digikam-devel >> >> >> _______________________________________________ >> Digikam-devel mailing list >> [hidden email] >> https://mail.kde.org/mailman/listinfo/digikam-devel > > > > > -- > regards, > Koushik. S > > _______________________________________________ > Digikam-devel mailing list > [hidden email] > https://mail.kde.org/mailman/listinfo/digikam-devel > Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Hello, I went through the source code to figure out more about the working, and here's what I found out.-- slotCrop() handles the cropping after the shortcut is triggered https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/utilities/imageeditor/widgets/canvas.cpp#L358 https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/dimg/dimg.cpp#L2207 https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/utilities/imageeditor/widgets/imagepreviewitem.cpp#L57 I'd like to have your say on it though. On Fri, Oct 24, 2014 at 1:20 PM, Gilles Caulier <[hidden email]> wrote: Koushik, -- regards, Koushik. S_______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |