<?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>313678</bug_id>
          
          <creation_ts>2013-01-22 11:09:19 +0000</creation_ts>
          <short_desc>Digikam fails to know which images in my camera is new</short_desc>
          <delta_ts>2017-08-16 06:12:56 +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>Import-Gphoto2</component>
          <version>3.5.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <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>1</everconfirmed>
          <reporter name="Anders Lund">anderslund</reporter>
          <assigned_to name="Digikam Developers">digikam-bugs-null</assigned_to>
          <cc>benv-kde.org</cc>
    
    <cc>caulier.gilles</cc>
    
    <cc>falolaf</cc>
    
    <cc>kde</cc>
    
    <cc>kde</cc>
    
    <cc>kde</cc>
    
    <cc>kdebugger</cc>
    
    <cc>kmiller2794</cc>
    
    <cc>korossy</cc>
    
    <cc>lachlan</cc>
    
    <cc>lenharo</cc>
    
    <cc>me</cc>
    
    <cc>nicofo</cc>
    
    <cc>robert.nurnberg</cc>
    
    <cc>sbstnschmtt</cc>
    
    <cc>spielmops</cc>
    
    <cc>suseuser</cc>
    
    <cc>wazery</cc>
    
    <cc>wooolfy</cc>
    
    <cc>xcsnake</cc>
          
          <cf_commitlink>http://commits.kde.org/digikam/3255a77ead05270ccef2f00627f76e9a324c3f3d</cf_commitlink>
          <cf_versionfixedin>4.0.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>222</votes>

      

      

      <flag name="Junior_Jobs"
          id="564"
          type_id="3"
          status="+"
          setter="wazery"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1334280</commentid>
    <comment_count>0</comment_count>
    <who name="Anders Lund">anderslund</who>
    <bug_when>2013-01-22 11:09:19 +0000</bug_when>
    <thetext>This is digikam 3.0rc3.

The problem is with the import dialog, downloading from my canon eos 30d camera. Before 3.0 series, &quot;download new&quot; worked,  but not anymore.

Reproducible: Always

Steps to Reproduce:
1. connect camera 
2. activate the import dialog
3. select &quot;download new&quot;
Actual Results:  
nothing happens

Expected Results:  
photos not yet in the digikam database imported</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1345251</commentid>
    <comment_count>1</comment_count>
    <who name="icon">kde</who>
    <bug_when>2013-02-26 00:10:08 +0000</bug_when>
    <thetext>I can confirm that the same things happens to me.  I even tried deleting the digikam database and starting over.  It still does the same thing .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1348814</commentid>
    <comment_count>2</comment_count>
    <who name="Nicofo">nicofo</who>
    <bug_when>2013-03-07 19:03:12 +0000</bug_when>
    <thetext>Same problem for me with digikam-3.0.0-1.fc18.1.i686

Additional info:
- in the &apos;import window&apos;, every pictures  has a &quot;info logo (i)&quot; -&gt; &quot;The item download status is unknown&quot;
- if I &quot;Mark as downloaded&quot; -&gt; the &quot;info logo&quot; becomes a &quot;V logo&quot; (which indicates &quot;item already downloaded&quot;) ; BUT if I close then reopen the import window =&gt; I get again &quot;The item download status is unknown&quot;
- the table &quot;DownloadHistory&quot; (from digikam4.db) is not modified after that operation or after a download.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1348949</commentid>
    <comment_count>3</comment_count>
    <who name="">falolaf</who>
    <bug_when>2013-03-08 09:46:36 +0000</bug_when>
    <thetext>Same thing happens to me. 

Manually built on openSUSE 12.2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1353040</commentid>
    <comment_count>4</comment_count>
    <who name="Nicofo">nicofo</who>
    <bug_when>2013-03-20 21:27:27 +0000</bug_when>
    <thetext>Bug still present with digikam 3.1.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1353484</commentid>
    <comment_count>5</comment_count>
    <who name="">falolaf</who>
    <bug_when>2013-03-22 11:23:06 +0000</bug_when>
    <thetext>Should add that I use a usb card reader with this behaviour.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1353487</commentid>
    <comment_count>6</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2013-03-22 11:29:00 +0000</bug_when>
    <thetext>*** Bug 317179 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1360246</commentid>
    <comment_count>7</comment_count>
    <who name="Sebastian Schmitt">sbstnschmtt</who>
    <bug_when>2013-04-13 11:05:20 +0000</bug_when>
    <thetext>Some problem. Absolute showstopper.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1362633</commentid>
    <comment_count>8</comment_count>
    <who name="rick">kdebugger</who>
    <bug_when>2013-04-21 19:55:04 +0000</bug_when>
    <thetext>Same here 3.1.0 -- used to work.  Vote for this problem! Maybe it&apos;ll help move up its priority.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1364364</commentid>
    <comment_count>9</comment_count>
    <who name="suseuser">suseuser</who>
    <bug_when>2013-04-27 08:09:02 +0000</bug_when>
    <thetext>I have the same issue here on opensuse 12.3, digikam 3.1.0
Really annoying because this is (or was ...) a great feature! Hope you are able to solve it soon!
Thanks in advance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1366027</commentid>
    <comment_count>10</comment_count>
    <who name="Wouter de Geus">benv-kde.org</who>
    <bug_when>2013-05-03 15:42:28 +0000</bug_when>
    <thetext>Same problem here on Slackware 14, tried digikam 3.1.0 and 3.2.0-beta1.
I&apos;m using libgphoto 2.5.1.1., my camera is a Canon EOS 600D.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1367892</commentid>
    <comment_count>11</comment_count>
    <who name="Lachlan">lachlan</who>
    <bug_when>2013-05-10 19:32:29 +0000</bug_when>
    <thetext>I have the same problem.  Every time I reconnect my card reader the Digikam import box shows all the files on the card, and every one has the (i) &quot;This item download status is unknown&quot; info mark.

This is a major issue for me.

Digikam 3.0.0 on Gentoo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1373551</commentid>
    <comment_count>12</comment_count>
    <who name="MickaëlG">xcsnake</who>
    <bug_when>2013-06-03 19:53:57 +0000</bug_when>
    <thetext>Same for me, with digikam 3.2.0 on archlinux, with a Nikon D60 camera and libgphoto 2.5.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1380405</commentid>
    <comment_count>13</comment_count>
    <who name="Anders Lund">anderslund</who>
    <bug_when>2013-06-30 17:27:10 +0000</bug_when>
    <thetext>Just a confirmation that this is still present in 3.2.0, along with the disfunctional renaming during import from camera (there is probably a separate bug report for that)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1380407</commentid>
    <comment_count>14</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2013-06-30 17:31:02 +0000</bug_when>
    <thetext>yes, it is.

Simply code is commented on special place in Import UI. Look my comment here :

https://bugs.kde.org/show_bug.cgi?id=314441#c53

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1380409</commentid>
    <comment_count>15</comment_count>
    <who name="Anders Lund">anderslund</who>
    <bug_when>2013-06-30 17:33:15 +0000</bug_when>
    <thetext>Søndag den 30. juni 2013 17:31:02 skrev du:
&gt; https://bugs.kde.org/show_bug.cgi?id=313678
&gt; 
&gt; --- Comment #14 from Gilles Caulier &lt;caulier.gilles@gmail.com&gt; ---
&gt; yes, it is.

Wonderful :-)

&gt; 
&gt; Simply code is commented on special place in Import UI. Look my comment here
&gt; :
&gt; 
&gt; https://bugs.kde.org/show_bug.cgi?id=314441#c53
&gt; 
&gt; Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391839</commentid>
    <comment_count>16</comment_count>
    <who name="Nicofo">nicofo</who>
    <bug_when>2013-08-22 20:53:07 +0000</bug_when>
    <thetext>Bug still present in version 3.3.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391906</commentid>
    <comment_count>17</comment_count>
    <who name="">falolaf</who>
    <bug_when>2013-08-23 06:44:48 +0000</bug_when>
    <thetext>Can this &quot;easy&quot; fix be considered for 3.4.0 maybe?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391907</commentid>
    <comment_count>18</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2013-08-23 06:58:15 +0000</bug_when>
    <thetext>Easy fix ???

Un-comment code is not enough to fix the problem. It miss code in new Qt4 model view implementation to handle download status and show an annotation in icon-view.

Gilles Caulier</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1391908</commentid>
    <comment_count>19</comment_count>
    <who name="">falolaf</who>
    <bug_when>2013-08-23 07:26:46 +0000</bug_when>
    <thetext>Sorry Gilles! I just read &quot;I think it can be fixed easily.&quot;...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1396716</commentid>
    <comment_count>20</comment_count>
    <who name="Hartmut">spielmops</who>
    <bug_when>2013-09-12 13:54:32 +0000</bug_when>
    <thetext>Still the same in digikam 3.4.0 on KDE 4.10

Hartmut</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1400360</commentid>
    <comment_count>21</comment_count>
    <who name="Robert Nurnberg">robert.nurnberg</who>
    <bug_when>2013-09-29 20:37:03 +0000</bug_when>
    <thetext>Just to confirm that the same happens to me with digikam 3.1.0 in kde 4.10.5 under kubuntu 13.04.

Is there a quickfix or workaround? If not, any alternative program I can use in the meantime to download my photos from the camera?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1413581</commentid>
    <comment_count>22</comment_count>
    <who name="">caulier.gilles</who>
    <bug_when>2013-11-23 12:28:20 +0000</bug_when>
    <thetext>*** Bug 327969 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1416746</commentid>
    <comment_count>23</comment_count>
    <who name="Teemu Rytilahti">tpr</who>
    <bug_when>2013-12-05 21:20:43 +0000</bug_when>
    <thetext>*** Bug 281758 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1421347</commentid>
    <comment_count>24</comment_count>
    <who name="Teemu Rytilahti">tpr</who>
    <bug_when>2013-12-29 16:02:14 +0000</bug_when>
    <thetext>Git commit 3255a77ead05270ccef2f00627f76e9a324c3f3d by Teemu Rytilahti.
Committed on 22/12/2013 at 18:43.
Pushed by rytilahti into branch &apos;master&apos;.

- Use KUrl and make sure that the folder has a trailing slash. Otherwise call to setFileName() causes the end of the path to be removed and breaking the URLs for history.
- When listing files, request the status from history database for the current state.
- Also use only model and path information for PTP cameras, as port number changes on the fly, therefore breaking the hashes. Unfortunately this means that the old download history for PTP devices is lost.
- Use DownloadedNo to indicate &quot;new&quot; photos for the time being.
FIXED-IN:4.0.0

M  +1    -0    libs/database/core/databasecorebackend.cpp
M  +4    -3    libs/database/downloadhistory.h
M  +5    -0    utilities/importui/backend/cameracontroller.cpp
M  +1    -0    utilities/importui/backend/camiteminfo.cpp
M  +2    -1    utilities/importui/backend/gpcamera.cpp
M  +1    -1    utilities/importui/items/importoverlays.cpp
M  +1    -1    utilities/importui/items/itemviewimportdelegate.cpp
M  +2    -0    utilities/importui/main/importui.cpp
M  +8    -2    utilities/importui/views/importiconview.cpp

http://commits.kde.org/digikam/3255a77ead05270ccef2f00627f76e9a324c3f3d</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>