Bug 191633 - Rename a folder, press F5 and see thumbnails go away.
Summary: Rename a folder, press F5 and see thumbnails go away.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Image (show other bugs)
Version: 0.10.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-05 02:55 UTC by Alexandre Racine
Modified: 2012-06-27 11:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments
capture1 (158.39 KB, image/jpeg)
2009-05-05 02:56 UTC, Alexandre Racine
Details
capture2 (164.75 KB, image/jpeg)
2009-05-05 02:56 UTC, Alexandre Racine
Details
capture3 (149.79 KB, image/jpeg)
2009-05-05 02:57 UTC, Alexandre Racine
Details
Error message after batch rename of files/directory (100.74 KB, image/png)
2009-06-07 14:57 UTC, Michał S.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Racine 2009-05-05 02:55:41 UTC
Version:           0.10.0 (using 4.2.2 (KDE 4.2.2), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.28-11-generic

I'll add some capture below.

Capture1 : Everything is working great.
Capture2 : Rename a folder. Here I add a "1".
Capture3 : Press F5 and this is the result.


You can even put back the old folder name and press F5, the thumbnails will get back. The other solution is to restart digikam.
Comment 1 Alexandre Racine 2009-05-05 02:56:25 UTC
Created attachment 33354 [details]
capture1
Comment 2 Alexandre Racine 2009-05-05 02:56:57 UTC
Created attachment 33355 [details]
capture2
Comment 3 Alexandre Racine 2009-05-05 02:57:17 UTC
Created attachment 33356 [details]
capture3
Comment 4 caulier.gilles 2009-05-05 09:24:23 UTC
Alexandre,

Start digiKam from a console, and try again. Look all message printed and report here please.

Gilles Caulier
Comment 5 Mikolaj Machowski 2009-05-05 10:30:12 UTC
@4 - Gilles, this is known problem coming from .thumbnails protocol (and this report is duplicate). After name change paths to images are changed and there are no thumbnails for "new" images. digiKam just have to recreate all thumbanils for those "new" images.

digiKam could probably be a bit smarter and detect folder name change (at least when done inside of app) and not recreate thumbnails but just rename thumbnails from .thumbnails directory.
Comment 6 Mikolaj Machowski 2009-05-05 10:40:53 UTC

*** This bug has been marked as a duplicate of bug 94562 ***
Comment 7 Andi Clemens 2009-05-05 10:47:45 UTC
This has been fixed some weeks ago...
Please try the latest SVN build if possible.

Andi
Comment 8 Mikolaj Machowski 2009-05-05 19:19:06 UTC
For me it doesn't work. After renaming of album thumbnails are recreated. You can see difference by renaming and renaming back. After first renaming there is visible delay when showing thumbs. When renaming back thumbs are shown instantly.
Comment 9 Mikolaj Machowski 2009-05-05 19:25:50 UTC
Sorry, forgot to write: I use 0.11svn from 2.05.2009.
Comment 10 Andi Clemens 2009-05-05 19:43:30 UTC
But this report is not about some delay, it is about missing thumbnails (and the restart of digikam to fix it).

Andi
Comment 11 Mikolaj Machowski 2009-05-05 22:03:17 UTC
Sorry for noise :(

In my case this is fixed. Revert to unconfirmed...
Comment 12 caulier.gilles 2009-05-24 21:35:46 UTC
Andi,

For me it's work fine too. Close ?

Gilles Caulier
Comment 13 Andi Clemens 2009-05-24 21:40:06 UTC
For me in current iconview it doesn't work... but it did before :D
Don't know with new ModelView yet... does it really work for you?
Comment 14 caulier.gilles 2009-05-25 08:36:51 UTC
F5 is broken there. It' due to new icon view code.

But i'm sure that with old icon view code, it work fine.

Gilles
Comment 15 Andi Clemens 2009-05-25 18:54:20 UTC
Yes, I'm sure it worked, but who knows if it still does?
We should wait until we can actually use this action again :-)

Andi
Comment 16 Michał S. 2009-06-07 14:55:41 UTC
The same (broken thumbnails) for me (digiKam 0.10.0) every time after renaming a photos or directory using 'batch file rename' menu in digiKam, and also cannot open renamed photos in image editor too -- error dialog is shown. See screenshot, please.
Comment 17 Michał S. 2009-06-07 14:57:57 UTC
Created attachment 34343 [details]
Error message after batch rename of files/directory
Comment 18 Andi Clemens 2009-06-07 15:25:31 UTC
This issue should be fixed now.

Michal,
I guess the fix was too late for digiKam 0.10. Can you try with the latest SVN checkout?
But anyway I'm sure it is fixed so I will close this one now. If the problem still exists in the latest SVN checkout, feel free to re-open it again.
Here I can not confirm it anymore.

Andi