Bug 296799

Summary: shown number of images in album increases in status line after image manipulation
Product: [Applications] digikam Reporter: Daniel Bauer <linux>
Component: ImageEditor-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 2.5.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 2.8.0
Sentry Crash Report:

Description Daniel Bauer 2012-03-26 09:20:13 UTC
When I use image editor to manipulate images and save the changed image to the same file (overwrite) the counter in the status line ["img_xy.png (36 of 45)"] adds 1 to the total number of images in the album (it shows in this example "36 of 46").
When closing the image editor the album shows the correct number of items. Also when reopening the editor the number is correct.
To reproduce use an album with some images, open editor, select ratio aspect cropping, crop the image, click ok, click on the "next image" icon on top, answer the warning with "overwrite" and see the number of images shown in the status line...
Comment 1 Marcel Wiesweg 2012-07-08 12:25:30 UTC
Git commit bce379c811d9eb1d607fa0eb4ae11787ee148051 by Marcel Wiesweg.
Committed on 08/07/2012 at 14:24.
Pushed by mwiesweg into branch 'master'.

With destructive save, update/show the status bar label after saving has finished.

M  +1    -0    utilities/imageeditor/editor/imagewindow.cpp

http://commits.kde.org/digikam/bce379c811d9eb1d607fa0eb4ae11787ee148051
Comment 2 Marcel Wiesweg 2012-07-08 12:26:32 UTC
I cannot reproduce the problem with current git / 2.7.0.
Settings: non-destrutive off, then reproduced as above.
I assume it was fixed in the meantime. Feel free to reopen if you can reproduce with 2.7.0