Bug 365721 - Album view shows thumbnails for deleted pictures/videos
Summary: Album view shows thumbnails for deleted pictures/videos
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Trash (show other bugs)
Version: 5.0.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-15 18:58 UTC by Andrius
Modified: 2017-07-28 20:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius 2016-07-15 18:58:57 UTC
If you delete a pictureor video AlbumView keeps showing its thumbnail until restart of the application. I tried to right click on the album and "refresh" but it does not help. Only restart of the app helps.

Reproducible: Always

Steps to Reproduce:
1. Select a picture
2. Delete picture
3. Go to thumbnails view

Actual Results:  
The thumbnail is still there

Expected Results:  
The thumbnail should not be shown
Comment 1 swatilodha27 2016-08-08 14:29:53 UTC
Is the file still valid using digiKam 5.1.0?

I recommend you to test again and provide necessary updates.
Comment 2 Andrius 2016-08-08 17:27:37 UTC
(In reply to swatilodha27 from comment #1)
> Is the file still valid using digiKam 5.1.0?
> 
> I recommend you to test again and provide necessary updates.

Hello, I am not sure since 5.1.0 has been released only for MacOS as of now. I will update after I tried it on Linux or Windows.
Comment 3 caulier.gilles 2016-08-08 17:47:11 UTC
I just uploaded Windows installers in the queue to be officially published on KDE server.

You take one on digiKam gdrive space if you want :

https://drive.google.com/folderview?id=0BzeiVr-byqt5MkhKNDc3MGtDeFk&usp=sharing

Gilles Caulier
Comment 4 caulier.gilles 2016-08-16 07:05:55 UTC
WildCowBoy,

What's about this file using digiKam 5.1.0 installer for Windows ?

Gilles Caulier
Comment 5 Vincent Tassy 2016-09-06 17:00:25 UTC
Still present in 5.1.0

Sorry, I reported it in 367740 comments.

If deleting a picture, It is moved to trash (on the filesystem), it is visible in the Trash tree in the Albums list but the image is still visible in the Album View. If I hit refresh, the thumbnail for that image is gone but replaced with the generic filetype thumbnail. Only if I restart digikam does the Album View get updated correctly
Comment 6 caulier.gilles 2016-09-06 17:09:00 UTC
In 5.1.0 yes, not in current implementation (next 5.2.0 planned for this week end).

See my comment https://bugs.kde.org/show_bug.cgi?id=367740#c10

Gilles Caulier
Comment 7 Vincent Tassy 2016-09-06 17:38:38 UTC
Great ! will be ready to unload my pictures from Corsica when I return :)
Comment 8 caulier.gilles 2016-09-06 19:47:06 UTC
New pre-version of 5.2.0 Windows installer 64 bits can be tested here :

https://drive.google.com/open?id=0BzeiVr-byqt5a19HZEcyeXZrTHM

Please report if problem disappear.

Gilles Caulier
Comment 9 caulier.gilles 2016-09-08 04:43:34 UTC
I tested under Windows and i cannot reproduce the problem with version given on link from comment #8

I close this file now. Don't hesitate to re-open if necessary.

Gilles Caulier