Bug 148925

Summary: Light Table thumb bar not updated when deleting images
Product: [Applications] digikam Reporter: Paweł Marciniak <pave>
Component: LightTable-ThumbbarAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 0.9.3
Attachments: solves bug #148925

Description Paweł Marciniak 2007-08-17 13:04:39 UTC
Version:           svn stable branch (using KDE KDE 3.5.7)
Installed from:    Compiled From Sources
OS:                Linux

When working with light table, deleting (moving to trash) an image doesn't cause the thumb bar to update, leaving dead entries for the deleted images.
Comment 1 Paweł Marciniak 2007-08-17 13:06:59 UTC
Created attachment 21419 [details]
solves bug #148925

The clearing flag has not been initialized to false. It was only changed to
false at the end of light table clearing operation. After such clearing,
deleting images from the light table worked properly. Now it works even before
clearing.
Comment 2 caulier.gilles 2007-08-17 14:30:17 UTC
This patch sound fine for me.

Gerhard, Marcel, Arnd,

Can someone can test and patch KDE3 and KDE4 implementation in svn if all is right ? 

Gilles Caulier
Comment 3 Gerhard Kulzer 2007-08-17 14:45:44 UTC
SVN commit 701145 by gkulzer:

CCBUG:148925    Light table updates correctly now

 M  +1 -0      thumbbar.cpp  


--- branches/extragear/kde3/graphics/digikam/libs/thumbbar/thumbbar.cpp #701144:701145
@@ -82,6 +82,7 @@
     {
         dragging   = false;
         exifRotate = false;
+	clearing   = false;
         toolTip    = 0;
         firstItem  = 0;
         lastItem   = 0;
Comment 4 Gerhard Kulzer 2007-08-17 14:49:44 UTC
Am Friday 17 August 2007 schrieb Gilles Caulier:
[bugs.kde.org quoted mail]

comitted and tested. I'll close the bug.
Gerhard
Comment 5 Gerhard Kulzer 2007-08-17 14:54:05 UTC
*** Bug has been marked as fixed ***.