Summary: | Pictures from old collection still in database after removing it | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | MarcP <iwannaberich> |
Component: | Maintenance-Database | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, iwannaberich, metzpinguin |
Priority: | NOR | ||
Version: | 7.1.0 | ||
Target Milestone: | --- | ||
Platform: | Appimage | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 7.2.0 | |
Sentry Crash Report: | |||
Attachments: | Screenshot showing the issue |
Never seen this problem. I've removed a lot of collections. Maik I just replicated it again, with identical results. I have three collections on network shares, and I added a local collection (a folder in my home directory). I waited until it finished scanning for new items, and then deleted that local collection. However, the imported items do not disappear, and cleaning the database does nothing. Do you want me to run some specific tests? Just tested again, no not reproducible. We know that you are manipulating the root path in the DB. Is a sub-path part of the deleted path? Maik Actually, digikam's database is stored at the same path of the Local collection I just added (/home/marc/Imatges). But I have not edited the path in the database manually in this case. Hi again. Today I was using the 7.2 beta, and I re-added the problematic collection and removed it, and it finally removed all the associated pictures from my library. I don't know if I was doing something wrong or something was fixed in that version, but I no longer have this problem. Thanks for your time! Thanks for your feedback Gilles Caulier |
Created attachment 131437 [details] Screenshot showing the issue SUMMARY As a test, I added a folder with pictures (/home/user/Images) as a new Local collection. It scanned the pictures inside and its metadata. When I was done doing those tests, I went to the settings menu and removed the local collection. However, the pictures still appear in my database, and manually cleaning it, or the automatic cleanup on the startup does not delete them or their metadata (tags, dates, etc). I cannot see the pictures, not even their thumbnail (see attachment), but they are still shown as icons Shouldn't that action be performed immediately? How can I remove them permanently? STEPS TO REPRODUCE 1. On existing Digikam installation, manually add new Local collection in the settings menu. 2. Wait for digikam to scan the new files and update the database 3. Delete the Local collection from the settings menu. 4. Restart digikam and wait for the startup cleanup to finish. (or, alternatively, Perform Database Cleaning on Tools/Maintenance) OBSERVED RESULT Placeholders for the old pictures are still shown, and their tags appear on the tree. EXPECTED RESULT Pictures from that collection should have been deleted from the database. SOFTWARE/OS VERSIONS I tried it both in the stable 7.0.0 x64 appimage and today's nightly flatpak, both under Ubuntu 20.04LTS with Gnome.