Version: 2.0.0 (using KDE 4.6.4) OS: Linux When I delete a picture from an album, it is still shown in the GUI. I have to manually "scan for new images" in the tool menu to have it not shown any more. Reproducible: Always Steps to Reproduce: Go into an album. Delete a picture Actual Results: The picture is deleted BUT it is still shown in the interface. Expected Results: The picture should not be shown in the interface anymore.
Created attachment 61949 [details] video showing the issue
Please provide the console output beginning immediately before the delete operation is started, including some waiting time, without manual refresh.
QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work. QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory QFileSystemWatcher: failed to add paths: /home/users/bruno.leon/.config/ibus/bus Below is the output. To be noted is that the folder is actually readable because when I refresh the picture is gone. (digikam:30921): GStreamer-CRITICAL **: gst_debug_add_log_function: assertion `func != NULL' failed No itemShortInfo could be retrieved from the database for image "img_0751.jpg" No itemShortInfo could be retrieved from the database for image "img_0752.jpg" No itemShortInfo could be retrieved from the database for image "img_0751.jpg" No itemShortInfo could be retrieved from the database for image "img_0752.jpg" digikam(30921)/digikam (core) Digikam::CollectionScanner::scanAlbum: Folder does not exist or is not readable: "/home/users/bruno.leon/DocumentsMedias/PicturesVideoss/test" digikam(30921)/digikam (core) Digikam::CollectionScanner::scanAlbum: Folder does not exist or is not readable: "/home/users/bruno.leon/DocumentsMedias/PicturesVideoss/test"
I found something interesting. I have two folders named - PictureVideo - PictureVideos If I delete a picture in the first one it works. In the second one it fails, telling me cannot access folder "PictureVideoss" (double ss is not a typo) I tried deleting and readding the collection with the same result. In the end, I manage to have it work by renaming "PictureVideos" to "PPictureVideos". This means that there is a bug somewhere when two collections have similar name, one being a substring of the other.
So these are as you say collections (top-level under "My Albums", added in the setup) and not folders in one collection? I have a minimal test case with two collections Document and Documents, but deleting a picture works: digikam(16696)/digikam (core) Digikam::DeleteDialog::slotUser1Clicked: setShowTrashDeleteDialog true digikam(16696)/digikam (core) Digikam::DIO::del: Files to delete : (KUrl("file:///home/marcel/Documents/openlogo-nd-test.png") ) digikam(16696)/digikam (core) Digikam::AlbumManager::slotKioFilesAdded: "/home/marcel/.local/share/Trash/files/openlogo-nd-test.png" digikam(16696)/digikam (core) Digikam::AlbumManager::slotKioFileMoved: "file:///home/marcel/Documents/openlogo-nd-test.png" "trash:/openlogo-nd-test.png" digikam(16696)/digikam (core) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/home/marcel/Documents" digikam(16696)/digikam (core) Digikam::AlbumManager::slotKioFilesAdded: "trash:/" digikam(16696)/digikam (core) Digikam::AlbumManager::slotKioFilesDeleted: ("file:///home/marcel/Documents/openlogo-nd-test.png") digikam(16696)/digikam (core) Digikam::AlbumManager::handleKioNotification: KDirNotify detected file change at "/home/marcel/Documents" digikam(16696)/digikam (core) Digikam::CollectionScanner::itemsWereRemoved: Removed items: (52557) related items: () digikam(16696)/digikam (core) Digikam::AlbumManager::slotDirWatchDirty: KDirWatch detected change at "/home/marcel/Documents"
Bruno, This file still valid using digiKam 2.4 ? Gilles Caulier
No you can close it Gilles. Thanks