Bug 345198

Summary: Batch rename is *extremely* slow
Product: [Applications] digikam Reporter: Chris Vanden Berghe <Chris>
Component: AdvancedRename-engineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.0

Description Chris Vanden Berghe 2015-03-16 05:13:34 UTC
Hi,

I'm trying to rename 766 photos (about 13 GB) on a modern PC with SSD and plenty of RAM.

I use the following options:

prefix string: (empty)
sequence number start value: 1
add original file name: unchecked
add file date: checked
add extra symbols in date format field: unchecked
date format: %Y_%m_%d_sometext

Editing this date format string is unbelievable slow... I'm talking about 1-character-per-5-minutes slow (literally). CPU usage is through the roof. The 'rename images' window is in focus, but the mouse pointer does not show while it's, well, busy interpreting the date format string as I'm typing it.

The plugin was called from gwenview 4.14.2.

Reproducible: Always

Steps to Reproduce:
1. select images in gwenview
2. batch operations -> rename
3. type in the date format string field
4. make a cup of coffee, watch a movie, ...
5. back to 3 if you made a typo or press start otherwise
Comment 1 Chris Vanden Berghe 2015-03-16 12:19:56 UTC
I should probably add that the actually renaming (once the date format string was defined) only took a few seconds.
Comment 2 caulier.gilles 2015-05-19 09:26:08 UTC
Chris,

This file still valid using last kipi-plugins 4.10.0 ?

Gilles Caulier
Comment 3 Chris Vanden Berghe 2015-05-21 04:57:18 UTC
Hi GIlles,

I will test once kipi-plugins makes it to Kubuntu 15.04 (with KDE backport ppa) and update the bug report accordingly.

If there is an easy way to install kipi-plugins on Kubuntu today then please let me know.

Chris.
Comment 4 caulier.gilles 2015-06-25 09:01:03 UTC
New kipi-plugins 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?
Comment 5 Chris Vanden Berghe 2015-06-25 09:10:07 UTC
Hi Gilles,

Can you point to some Ubuntu packages for this version? I looked around but none of the PPAs/repositories seem to have a recent version. I currently have 4.9.0 installed.

Chris.
Comment 6 caulier.gilles 2015-07-04 10:10:46 UTC
BatchProcessImage is not maintained since a while and is obsolete now. It will
be removed with 5.0.0.

Use digiKam BQM instead...