SUMMARY Digikam will not delete duplicate item on NFS mount (permissions confirmed OK) when item is deleted STEPS TO REPRODUCE 1. Update Picture fingerprints 2. Find duplicates 3. Click on one item in Ref. Images box 4. Right click on duplicate picture and select open in File Manager 5. (In Digikam) right click on duplicate picture and select move to trash OBSERVED RESULT Picture physically remains at location (In File Manager). Refreshing location does not change problem. EXPECTED RESULT Picture should be removed to .dtrash. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Does it work if you don't open the duplicate image in the file manager beforehand? Which file manager do you use? What we definitely need is a log from the terminal when you carry out the deletion process, as described here: https://www.digikam.org/contribute/ Maik
Created attachment 142400 [details] 1-Digikam just started.png On Wednesday, October 13, 2021 1:04:13 AM CDT you wrote: > https://bugs.kde.org/show_bug.cgi?id=443646 > > Maik Qualmann <metzpinguin@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |metzpinguin@gmail.com > > --- Comment #1 from Maik Qualmann <metzpinguin@gmail.com> --- > Does it work if you don't open the duplicate image in the file manager > beforehand? Which file manager do you use? > What we definitely need is a log from the terminal when you carry out the > deletion process, as described here: > > https://www.digikam.org/contribute/ > > Maik Maik, Sry, my bad - turned signing off :> Very happy to help out! Cool about setting Debug on command line - did not know about it. I have included the log as well as some Spectacle screenshots of the problem. All processes are run as user dbayrock. Picture remains at it's location after the delete within Digikam. In the Dolphin window, I have tried to manually rename/delete/etc any of the items and I can do so so it does not seem to be a permissions problem for dbayrock. I also looked in the .dtrash folder listed in the debug. Nothing there. For completeness, I have included the mount point parameters. I can navigate to the mount manually and can make all changes/deletions/additions I like. I have also tried the above without opening the Pic in Dolphin from Digikam. Same problem. Please don't post the screenshots on the bugsite :>>> Thanks!
Created attachment 142401 [details] 2-Opened up top duplicate with Dolphin via Digikam.png
Created attachment 142402 [details] 3-Right Click and Moving image to Trash.png
Created attachment 142403 [details] NFS mount.txt
Created attachment 142404 [details] 4-Picture still shown in Digikam and Dolphin (Dolphin refreshed).png
Created attachment 142405 [details] Digikam Log.txt
Created attachment 142407 [details] signature.asc On Tuesday, October 12, 2021 8:45:38 PM CDT you wrote: > https://bugs.kde.org/show_bug.cgi?id=443646 > > caulier.gilles@gmail.com changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Summary|Digikam does not delete |digiKam does not delete > |duplicate picure over NFS |duplicate picture over NFS > |share |share > > CC| |caulier.gilles@gmail.com All, K. New to reporting bugs. No worries about the screenshots on the bugzilla :>>
On Wednesday, October 13, 2021 12:29:08 PM CDT you wrote: > On Tuesday, October 12, 2021 8:45:38 PM CDT you wrote: > > https://bugs.kde.org/show_bug.cgi?id=443646 > > > > caulier.gilles@gmail.com changed: > > What |Removed |Added > > > > -------------------------------------------------------------------------- > > -- Summary|Digikam does not delete |digiKam does not delete > > > > |duplicate picure over NFS |duplicate picture over > > |NFS > > |share |share > > > > CC| |caulier.gilles@gmail.com > All, I have also tried changing all the permissions on the directories and items to 777 and permissions to dbayrock:wheel. Tried Digikam again and still have the same problem.
Please delete the .dtrash folder, it will be created again. It often happened that this folder had a wrong permission. Maik
Created attachment 142413 [details] signature.asc On Wednesday, October 13, 2021 12:48:09 PM CDT you wrote: > https://bugs.kde.org/show_bug.cgi?id=443646 > > --- Comment #10 from Maik Qualmann <metzpinguin@gmail.com> --- > Please delete the .dtrash folder, it will be created again. It often > happened that this folder had a wrong permission. > > Maik Maik, Deleted the .dtrash folder and re-ran Digikam. It worked! The pics are now gone from Digikam and Dolphin! :>> Not sure where you saw that the permissions were wrong in the log file. Have I missed something? Also, I change the permissions often in my photo directories. This is probably how the permissions got changed for .dtrash. Is there a way to specify another directory location for .dtrash - i.e. outside my photo directory? I looked in the Digikam Settings and could not find a setting for .dtrash. Much thanks for this! :>> x 20
Created attachment 142414 [details] attachment-15604-0.html On Wednesday, October 13, 2021 12:48:09 PM CDT you wrote: > https://bugs.kde.org/show_bug.cgi?id=443646 > > --- Comment #10 from Maik Qualmann <metzpinguin@gmail.com> --- > Please delete the .dtrash folder, it will be created again. It often > happened that this folder had a wrong permission. > > Maik Maik, Deleted the .dtrash folder and re-ran Digikam. It worked! The pics are now gone from Digikam and Dolphin! :>> Not sure where you saw that the permissions were wrong in the log file. Have I missed something? Also, I change the permissions often in my photo directories. This is probably how the permissions got changed for .dtrash. Is there a way to specify another directory location for .dtrash - i.e. outside my photo directory? I looked in the Digikam Settings and could not find a setting for .dtrash. Much thanks for this! :>> x 20
We have often had the wish to enable a trash outside of the collection. However, this is not a good idea for a number of reasons. With network drives this would be very time consuming, as the images are first copied over the network and then deleted if they are not on the same drive. Maik