Bug 110391 - batch rename removes tags and comments
Summary: batch rename removes tags and comments
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: AdvancedRename-metadata (show other bugs)
Version: 0.7.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-08 12:38 UTC by Gilles Schintgen
Modified: 2022-02-01 06:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Schintgen 2005-08-08 12:38:05 UTC
Version:           0.7.3 (using KDE KDE 3.4.1)
Installed from:    Gentoo Packages
OS:                Linux

Batch renaming removes tags and comments. This is very unfortunate since it renders batch renaming useless in case the pictures have already been tagged and commented. I hope this can be fixed in time for 0.8.

Apart from this (and other minor annoyances) digikam is simply great and is quickly becoming one of the best KDE apps. Congratulations!
Comment 1 Gilles Schintgen 2005-08-08 14:07:46 UTC
> Batch renaming removes tags and comments. This is very unfortunate since it
> renders batch renaming useless in case the pictures have already been
> tagged and commented. I hope this can be fixed in time for 0.8.

Oops, I've just noticed that batch renaming is actually a kipi plugin. I don't 
know how integrated digikam and kipi-plugins are, but my point is that under 
no circumstances tags and comments should be discarded without an explicit 
warning. If this issue cannot be easily fixed due to the independence of 
digikam and kipi-plugins, then at least a big fat warning should be 
displayed.

Thanks,

Gilles
Comment 2 Carsten Niehaus 2005-08-10 14:53:58 UTC
Yes, I just lost 50+ tags because of this bug :/
Comment 3 Tom Albers 2005-08-15 22:17:23 UTC
SVN commit 449513 by toma:

Owen Hirst <n8rider@sbcglobal.net>  has provided a patch for KIPI Rename Images (part of the BatchProcesses Plugin). 

kipi part:
* Complete rewrite
* Use rename instead of copy
* Allow formatting of date string

digikam part:
* fixes the time and date adjustment not working 
* Update database entry when a file is renamed by a KIPI Plugin
* make slideshow available right after digikams start

This fixes the following bugs:
BUGS:110391,110659,110698,110575,99895,104032,105727,110508,104511

great work!



 M  +16 -0     graphics/digikam/digikam/albumdb.cpp  
 M  +8 -0      graphics/digikam/digikam/albumdb.h  
 M  +2 -0      graphics/digikam/digikam/digikamapp.cpp  
 M  +24 -10    graphics/digikam/digikam/kipiinterface.cpp  
 M  +1 -0      graphics/digikam/digikam/kipiinterface.h  
 _M            libs/kipi-plugins/batchprocessimages (directory)  
 M  +3 -2      libs/kipi-plugins/batchprocessimages/Makefile.am  
 M  +22 -1     libs/kipi-plugins/batchprocessimages/batchprocessimagesitem.cpp  
 M  +7 -0      libs/kipi-plugins/batchprocessimages/batchprocessimagesitem.h  
 M  +3 -3      libs/kipi-plugins/batchprocessimages/plugin_batchprocessimages.cpp  
 A             libs/kipi-plugins/batchprocessimages/renameimagesbase.ui  
 M  +45 -663   libs/kipi-plugins/batchprocessimages/renameimagesdialog.cpp  
 M  +44 -79    libs/kipi-plugins/batchprocessimages/renameimagesdialog.h  
 A             libs/kipi-plugins/batchprocessimages/renameimageswidget.cpp   [License: GPL]
 A             libs/kipi-plugins/batchprocessimages/renameimageswidget.h   [License: GPL]
Comment 4 Gilles Schintgen 2005-08-15 22:28:32 UTC
On Monday 15 August 2005 22:17, Tom Albers wrote:
>            What    |Removed                     |Added
>            -------------------------------------------
>          Status    |NEW                         |RESOLVED
>          Resolution|                            |FIXED


Great! Thanks!
Comment 5 Carsten Niehaus 2005-08-16 11:11:22 UTC
Tested: Works. Thank you!

Furthermore, the new rename dialog is *much* better, I esp. like that the finished items are now green.
Comment 6 Jens 2006-07-03 21:06:55 UTC
Reopen for 0.9-svn: The current SVN version loses tag and comment info when the batch rename function is used.