[Digikam-devel] [Bug 215715] Wrong numbering when importing photos

Andi Clemens andi.clemens at gmx.net
Fri Nov 27 15:01:18 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=215715


Andi Clemens <andi.clemens at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #5 from Andi Clemens <andi clemens gmx net>  2009-11-27 16:00:38 ---
SVN commit 1055194 by aclemens:

Change the way the parser handles numbering. An internal counter is used to
number the images, with an additional startIndex parameter used by CameraUI to
set a different start than 1.

CameraUI increases the number / index while it has not been closed, which is a
good / normal behavior. So when you select three images, download them and
select different ones later on from the same camera device, the next index
will be 4.

Resetting this counter manually was not possible the way the rename parser
worked before.

Now the parser can be initialized with a ParseInformation object, that can have
a custom startIndex parameter.

BUG:215715

 M  +2 -1      NEWS  
 M  +12 -23    tests/advancedrenametest.cpp  
 M  +4 -3      utilities/advancedrename/advancedrenamedialog.cpp  
 M  +2 -0      utilities/advancedrename/advancedrenamedialog.h  
 M  +5 -0      utilities/advancedrename/advancedrenamewidget.cpp  
 M  +4 -2      utilities/advancedrename/advancedrenamewidget.h  
 M  +4 -3      utilities/advancedrename/common/parseinformation.h  
 M  +24 -4     utilities/advancedrename/common/parser.cpp  
 M  +3 -0      utilities/advancedrename/common/parser.h  
 M  +2 -2      utilities/advancedrename/parser/options/sequencenumberoption.cpp 
 M  +12 -7     utilities/cameragui/cameraiconview.cpp  
 M  +1 -1      utilities/cameragui/cameraiconview.h  
 M  +6 -6      utilities/cameragui/cameraui.cpp  
 M  +6 -3      utilities/cameragui/renamecustomizer.cpp  
 M  +1 -1      utilities/cameragui/renamecustomizer.h  
 M  +0 -3      utilities/queuemanager/queuelist.cpp  


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

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list