Wrong thumbnails on reimport
During the troubleshooting of a problem with a corrupt raw file, that caused DT to freeze everytime I tried to load that photo, (I'll file another bug report for that issue), I had to reimport several folders. The photos are now shown with a wrong thumbnail (from another shoot) that changes depending on the zoom level. When I open the file itself the thumbnail gets corrected again.
I saw some other bugreports on this issue over the years, but they all are solved at that time. As I'm using git version (release.2.1.0.r2127.g3c9b03d-1) from the AUR in Arch Linux. I thought it is still worth mentioning.
How to reproduce:
- Delete several folders from the library
- Restart DT (I think this is optional)
- import one folder you deleted
- import another folder you deleted
- watch the magic happen.
#1 Updated by Tobias Ellinghaus almost 4 years ago
Did you delete/restore the library.db when removing the files or earlier? It might be that you have left over thumbnails in the cache for images with an ID bigger than the biggest one in the current library. So when importing a folder those IDs are used and darktable finds the stale cached thumbs.