My directory structure has a folder full of symlinks to all images. KPhotoAlbum as a result shows each image twice! It should collapse images with matching data.
Reading links is intentional as most users have links under image directory to include some other directories to KPA. I'm closing this bug as the behavior is not bug but intentional feature. We do, however, have a junior-job available (248040) for configuring whether symbolic links are ignored or followed.
I did this a while back but never got around to submitting the patch; here it is.
Created attachment 68420 [details] Patch to add option to skip symlinks when searching for new files
Git commit 451bb315ab3af6f57d386c40be97cd249d9ee68a by Miika Turkia. Committed on 02/02/2012 at 06:55. Pushed by mturkia into branch 'master'. Option to skip symbolic links Option to ignore symbolic links is added. Thanks to Rik for the patch. Related: bug 248040 M +5 -0 DB/NewImageFinder.cpp M +8 -0 Settings/FileVersionDetectionPage.cpp M +1 -0 Settings/FileVersionDetectionPage.h M +1 -0 Settings/SettingsData.cpp M +1 -0 Settings/SettingsData.h http://commits.kde.org/kphotoalbum/451bb315ab3af6f57d386c40be97cd249d9ee68a
Seems that all bugs need to be closed to get patches for them ;) (And sorry Robert for mis-reading your name from the e-mail address.)
I mentioned this last summer on the mailing list, but nobody seemed interested and I forgot all about it until the bug got updated and I remembered I had done this. (There might be use for separating symlinks to files and symlinks to directories; I might well want to scan directories but not individual files through symlinks. But a better way to do this would be to allow multiple root directories or even multiple databases.)