[Bug 277974] New: Deleted images are still shown. Need manual Rescan.

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 277974] New: Deleted images are still shown. Need manual Rescan.

brunoleon
https://bugs.kde.org/show_bug.cgi?id=277974

           Summary: Deleted images are still shown. Need manual Rescan.
           Product: digikam
           Version: 2.0.0
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Thumbnails
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


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.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 277974] Deleted images are still shown. Need manual Rescan.

brunoleon
https://bugs.kde.org/show_bug.cgi?id=277974





--- Comment #1 from Bruno Léon <bruno leon nividic org>  2011-07-17 21:30:38 ---
Created an attachment (id=61949)
 --> (http://bugs.kde.org/attachment.cgi?id=61949)
video showing the issue

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 277974] Deleted images are still shown. Need manual Rescan.

Marcel Wiesweg
In reply to this post by brunoleon
https://bugs.kde.org/show_bug.cgi?id=277974





--- Comment #2 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-07-18 17:16:30 ---
Please provide the console output beginning immediately before the delete
operation is started, including some waiting time, without manual refresh.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 277974] Deleted images are still shown. Need manual Rescan.

brunoleon
In reply to this post by brunoleon
https://bugs.kde.org/show_bug.cgi?id=277974





--- Comment #3 from Bruno Léon <bruno leon nividic org>  2011-07-18 19:36:35 ---
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"

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 277974] Deleted images are still shown. Need manual Rescan.

brunoleon
In reply to this post by brunoleon
https://bugs.kde.org/show_bug.cgi?id=277974





--- Comment #4 from Bruno Léon <bruno leon nividic org>  2011-07-18 21:05:17 ---
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.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 277974] Deleted images are still shown. Need manual Rescan.

Marcel Wiesweg
In reply to this post by brunoleon
https://bugs.kde.org/show_bug.cgi?id=277974





--- Comment #5 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-07-30 12:57:44 ---
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"

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 277974] Deleted images are still shown. Need manual Rescan.

Gilles Caulier-4
In reply to this post by brunoleon
https://bugs.kde.org/show_bug.cgi?id=277974


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #6 from Gilles Caulier <caulier gilles gmail com>  2011-12-19 13:57:23 ---
Bruno,

This file still valid using digiKam 2.4 ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 277974] Deleted images are still shown. Need manual Rescan.

brunoleon
In reply to this post by brunoleon
https://bugs.kde.org/show_bug.cgi?id=277974





--- Comment #7 from Bruno Léon <bruno leon nividic org>  2011-12-19 14:44:03 ---
No you can close it Gilles.

Thanks

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 277974] Deleted images are still shown. Need manual Rescan.

Gilles Caulier-4
In reply to this post by brunoleon
https://bugs.kde.org/show_bug.cgi?id=277974


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 277974] Deleted images are still shown. Need manual Rescan.

Gilles Caulier-4
In reply to this post by brunoleon
https://bugs.kde.org/show_bug.cgi?id=277974

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.5.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel