Bug 221159 - batch queue manager generates duplicate target names if dots (.) are used in the file name
Summary: batch queue manager generates duplicate target names if dots (.) are used in ...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: BatchQueueManager-Workflow (show other bugs)
Version: 1.0.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-03 21:48 UTC by Luka Renko
Modified: 2016-07-04 05:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 1.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luka Renko 2010-01-03 21:48:03 UTC
Version:            (using KDE 4.3.4)
OS:                Linux
Installed from:    Ubuntu Packages

This was reported in Ubuntu and I can reproduce with digikam 1.0:

Within the digikam batch queue manager it is not possible to do a batch job for resizing some images.
The following behavior is visible:

I tried to run a batch job for downsizing some images with this kind of names:

"2009.11.01_thailand_katja_05_dscf1267_0028.jpg", "2009.11.01_thailand_katja_05_dscf1268_0029.jpg" and so on...

The batch queue manager do only the resizing for one picture and dies with the following message:

"Do you would like to overwrite the picture "2009.jpg"? This must be a bug, because the batch queue manager is renaming the files by itself. This is not a wanted behavior, because i only would like to change the size of the pictures from 2848 Pixel x 2136 Pixel to 950x712 pixel. The picture is renaming to "2009.jpg" I could not explain this behavior, but my filenames are valid and without spaces, as you could see above.
Comment 1 Luka Renko 2010-01-03 21:49:28 UTC
It seems that BQM tries to cut file extension and does this on first dot (.), while it should probably use last dot in order to work with filenames that uses dot also for the name part (and not only for extension).
Comment 2 Andi Clemens 2010-01-03 22:11:03 UTC
I just checked out an old version where AdvancedRename was not integrated, the problem was already in there. So it must be somewhere indeep of BQM itself...
Comment 3 Jens Mueller 2010-01-03 22:26:48 UTC
SVN commit 1069594 by jmueller:

fix wrong basename selection after first dot to last dot
BUGS: 221159

 M  +2 -1      NEWS  
 M  +1 -1      utilities/queuemanager/queuelist.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1069594