<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>342430</bug_id>
          
          <creation_ts>2015-01-03 01:58:36 +0000</creation_ts>
          <short_desc>When selecting a subset of images instead of all images to download from camera, the numbering of the renamed images adds the number of selected images to the sequence numbers.</short_desc>
          <delta_ts>2017-08-16 05:58:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>digikam</product>
          <component>AdvancedRename-Import</component>
          <version>4.0.0</version>
          <rep_platform>Kubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.kde.org/show_bug.cgi?id=342996</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Derrick Rogers">daearogers</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>caulier.gilles</cc>
    
    <cc>metzpinguin</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>4.7.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1488726</commentid>
    <comment_count>0</comment_count>
    <who name="Derrick Rogers">daearogers</who>
    <bug_when>2015-01-03 01:58:36 +0000</bug_when>
    <thetext>For example:  If I select 30 images to download, the program adds 30 to the sequence number of the renamed image even though I defined the renaming to include sequence numbers starting with 1.  The first image file name will include sequence number 31 instead of 1.  When I download all images from the camera, the sequence numbers are correct and start with 1.

Reproducible: Always

Steps to Reproduce:
1.  Click on Import -&gt; Cameras and select attached camera from list.
2.  Choose custom renaming with number option starting with 1.
3.  Select set of images to download.
4.  Count number of images selected.
5.  Click on Download -&gt; Download Selected
6.  Select directory and click OK

Actual Results:  
After download complete, look at sequence number in filenames.  The sequence number includes an offset of the number of images selected. 

Expected Results:  
I defined the numbering to start with 1, so I expect the sequence numbers to start with 1 instead of 1+# of images selected.

Running Kubuntu 14.04 LTS 32 bit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1494153</commentid>
    <comment_count>1</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2015-01-25 11:43:08 +0000</bug_when>
    <thetext>Git commit 7f3459d55dd453f257ece35398175bba22ea4109 by Gilles Caulier.
Committed on 25/01/2015 at 11:39.
Pushed by cgilles into branch &apos;master&apos;.

Apply patch #90637 from Maik Qualmann to fix image renaming settings rules in Import Tool to work properly while downloading.
Related: bug 342996, bug 314441, bug 329438, bug 307253
FIXED-IN: 4.7.0

M  +3    -1    NEWS
M  +2    -2    utilities/importui/backend/cameracontroller.cpp
M  +67   -44   utilities/importui/main/importui.cpp
M  +1    -0    utilities/importui/main/importui.h
M  +5    -0    utilities/importui/views/importview.cpp
M  +1    -0    utilities/importui/views/importview.h

http://commits.kde.org/digikam/7f3459d55dd453f257ece35398175bba22ea4109</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1494184</commentid>
    <comment_count>2</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2015-01-25 14:01:07 +0000</bug_when>
    <thetext>Git commit 0201e6fc8549ac849029daf36eaeadd6ebb4d4ae by Gilles Caulier.
Committed on 25/01/2015 at 13:58.
Pushed by cgilles into branch &apos;frameworks&apos;.

Backport commit #7f3459d55dd453f257ece35398175bba22ea4109 from git/master to frameworks branch.
Related: bug 342996, bug 314441, bug 329438, bug 307253

M  +3    -3    utilities/importui/backend/cameracontroller.cpp
M  +74   -50   utilities/importui/main/importui.cpp
M  +1    -0    utilities/importui/main/importui.h
M  +5    -0    utilities/importui/views/importview.cpp
M  +1    -0    utilities/importui/views/importview.h

http://commits.kde.org/digikam/0201e6fc8549ac849029daf36eaeadd6ebb4d4ae</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1494233</commentid>
    <comment_count>3</comment_count>
    <who name="Maik Qualmann">metzpinguin</who>
    <bug_when>2015-01-25 16:46:36 +0000</bug_when>
    <thetext>This bug can be closed. The numbering is only for selected images or all images, when no selected.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>