Bug 70473

Summary: Deleting items from the Kooka Gallery does not decrement the number of items displayed
Product: [Applications] kooka Reporter: Brent Cook <busterbcook>
Component: generalAssignee: Jonathan Marten <jjm>
Status: ASSIGNED ---    
Severity: normal CC: codestruct
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Brent Cook 2003-12-15 06:09:20 UTC
Version:           0.42 (using KDE 3.1.94 (3.2 Beta 2), compiled sources)
Compiler:          gcc version 3.2.3
OS:          Linux (i686) release 2.4.23

Steps to reproduce:

1  Delete an item from the Kooka Gallery
2  The caption next to "Kooka Gallery" for Size states an incorrect number of items, e.g. "2 items" when there is only one.
Comment 1 Simon Oosthoek 2007-01-14 21:45:12 UTC
Confirmed, I just cleared my "gallery", still says 9 items!)
Comment 2 Simon Oosthoek 2007-01-14 21:45:38 UTC
Oh, btw, that's in KDE 3.5.5 on kubuntu edgy!
Comment 3 Jonathan Marten 2008-03-11 17:26:06 UTC
SVN commit 784536 by marten:

Kooka:

Report more information for errors while scanning
Populate gallery subfolders when their parent is opened, bug 132699
Update gallery parent directory when an image is deleted, bug 70473
Don't deselect or unload image when renamed, bug 68532
ScanPackager::slAddImage() -> addImage(), it doesn't need to be a slot
Improve scan saving error reporting, move most of it to ImgSaver
Add "Properties" option for gallery images and folders

libkscan:

Accept any PNM file for SANE Debug testing

CCBUG:132699
CCBUG:68532
CCBUG:70473



 M  +124 -179  kooka/imgsaver.cpp  
 M  +7 -6      kooka/imgsaver.h  
 M  +2 -0      kooka/kocrgocr.cpp  
 M  +7 -0      kooka/kooka.cpp  
 M  +1 -0      kooka/kooka.h  
 M  +1 -0      kooka/kookaui.rc  
 M  +13 -11    kooka/kookaview.cpp  
 M  +87 -106   kooka/scanpackager.cpp  
 M  +9 -6      kooka/scanpackager.h  
 M  +1 -1      libkscan/kscancontrols.cpp  
 M  +36 -41    libkscan/kscandevice.cpp  
 M  +1 -1      libkscan/kscandevice.h  
 M  +27 -0     libkscan/kscanoption.cpp  
 M  +3 -0      libkscan/kscanoption.h  
 M  +8 -3      libkscan/scanparams.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=784536
Comment 4 Gregor Mi 2018-03-31 08:57:03 UTC
This report is 10 years old. Is it still valid nowadays?