Bug 281758 - Images on camera always marked as new if imported via autodetected camera
Summary: Images on camera always marked as new if imported via autodetected camera
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-History (show other bugs)
Version: 2.1.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-10 16:31 UTC by falolaf
Modified: 2021-08-26 16:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.4.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description falolaf 2011-09-10 16:31:57 UTC
Version:           2.1.0 (using KDE 4.7.0) 
OS:                Linux

If I import images through an auto detected camera the images are marked as new the next time the same camera is connected.

Images imported via a manually added camera are marked as downloaded.

This is valid for Canon EOS 50D connected via USB.

Reproducible: Always

Steps to Reproduce:
1: Connect camera via USB.
2: Import images from the camera via the auto detected device.
3: Close camera GUI, disconnect or turn off the camera.
4: Reconnect the camera and open the import GUI with the auto detected device.

Actual Results:  
Images already imported are marked as new.

Expected Results:  
Images already imported should be marked as downloaded.
Comment 1 caulier.gilles 2011-09-12 08:12:21 UTC
To be clear (following your mail from digikam-users ML):

- NEW item flag work fine if camera device have been added by yourself in config dialog.

- NEW items flag doesn't work with device auto-detection when it plugged on computer

Right ?

Gilles Caulier
Comment 2 falolaf 2011-09-12 10:34:35 UTC
(In reply to comment #1)
> To be clear (following your mail from digikam-users ML):
> 
> - NEW item flag work fine if camera device have been added by yourself in
> config dialog.
> 
> - NEW items flag doesn't work with device auto-detection when it plugged on
> computer
> 
> Right ?
> 
> Gilles Caulier

Yes, that is correct.

/Anders
Comment 3 caulier.gilles 2011-09-12 10:45:16 UTC
What the camera driver used in both case. Look details into Camera/Info dialog.

Gilles Caulier
Comment 4 falolaf 2011-09-12 18:55:29 UTC
Not sure if this is the information you want.

Title: Canon Inc. Canon Digital Camera
Model: Canon EOS 50D
Port: usb:001,005
Path: /

Thumbnails: yes
Capture image: yes
Delete items: yes
Upload items: yes
Create directories: yes
Delete Directories: yes


Manufacturer: Canon Inc.
Model: Canon EOS 50D
  Version: 3-1.0.7
  Serial Number: d94b28edcac4307
Vendor Extension ID: 0xb (2.0)
Capture Formats: JPEG
Display Formats: Association/Directory, Script, DPOF, MS AVI, MS Wave, JPEG, CRW, Unknown(b103), Unknown(bf02), Defined Type, Unknown(b104)
Supported MTP Object Properties:
        Association/Directory/3001: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
        Script/3002: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
        DPOF/3006: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
        MS AVI/300a: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc87/Width dc88/Height dc89/Duration de97/ScanDepth de9b/VideoFourCCCodec de9c/VideoBitRate de9a/AudioBitRate de93/SampleRate de94/NumberOfChannels
        MS Wave/3008: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc89/Duration de9a/AudioBitRate de93/SampleRate de94/NumberOfChannels
        JPEG/3801: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc87/Width dc88/Height dcd3/ImageBitDepth
        CRW/b101: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
        Unknown(b103)/b103: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
        Unknown(bf02)/bf02: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
        Defined Type/3800: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc87/Width dc88/Height dcd3/ImageBitDepth
        Unknown(b104)/b104: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc87/Width dc88/Height dc89/Duration de97/ScanDepth de9b/VideoFourCCCodec de9c/VideoBitRate de9a/AudioBitRate de93/SampleRate de94/NumberOfChannels
Device Capabilities:
        File Download, File Deletion, File Upload
        No Image Capture, No Open Capture, Canon EOS Capture
Storage Devices Summary:
store_00010001:
        StorageDescription: CF
        VolumeLabel: Ingen
        Storage Type: Removable RAM (memory card)
        Filesystemtype: Digital Camera Layout (DCIM)
        Access Capability: Read-Write
        Maximum Capability: 16009461760 (15267 MB)
        Free Space (Bytes): 8068497408 (7694 MB)
        Free Space (Images): -1
Device Property Summary:
Property 0xd402:(read only) (type=0xffff) 'Canon EOS 50D'
Property 0xd407:(read only) (type=0x6) 1
Property 0xd406:(readwrite) (type=0xffff) 'Unknown Initiator'


/Anders
Comment 5 caulier.gilles 2011-09-12 20:13:28 UTC
Yes, it is. But it's auto-detected device info or not ?

In all case, i want both info to compare.

Gilles Caulier
Comment 6 falolaf 2011-09-13 03:16:08 UTC
Ok, then. The previous info was from the auto detected device. This comes from the manually added device.

Title: Canon EOS 50D
Model: Canon EOS 50D
Port: usb:
Path: /

Thumbnails: yes
Capture image: yes
Delete items: yes
Upload items: yes
Create directories: yes
Delete Directories: yes


Manufacturer: Canon Inc.
Model: Canon EOS 50D
  Version: 3-1.0.7
  Serial Number: d94b28edcac4307
Vendor Extension ID: 0xb (2.0)
Capture Formats: JPEG
Display Formats: Association/Directory, Script, DPOF, MS AVI, MS Wave, JPEG, CRW, Unknown(b103), Unknown(bf02), Defined Type, Unknown(b104)
Supported MTP Object Properties:
        Association/Directory/3001: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
        Script/3002: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
        DPOF/3006: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
        MS AVI/300a: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc87/Width dc88/Height dc89/Duration de97/ScanDepth de9b/VideoFourCCCodec de9c/VideoBitRate de9a/AudioBitRate de93/SampleRate de94/NumberOfChannels
        MS Wave/3008: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc89/Duration de9a/AudioBitRate de93/SampleRate de94/NumberOfChannels
        JPEG/3801: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc87/Width dc88/Height dcd3/ImageBitDepth
        CRW/b101: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
        Unknown(b103)/b103: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
        Unknown(bf02)/bf02: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified
        Defined Type/3800: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc87/Width dc88/Height dcd3/ImageBitDepth
        Unknown(b104)/b104: dc01/StorageID dc02/ObjectFormat dc03/ProtectionStatus dc04/ObjectSize dc07/ObjectFileName dc0b/ParentObject dc41/PersistantUniqueObjectIdentifier dc44/Name dc08/DateCreated dc09/DateModified dc87/Width dc88/Height dc89/Duration de97/ScanDepth de9b/VideoFourCCCodec de9c/VideoBitRate de9a/AudioBitRate de93/SampleRate de94/NumberOfChannels
Device Capabilities:
        File Download, File Deletion, File Upload
        No Image Capture, No Open Capture, Canon EOS Capture
Storage Devices Summary:
store_00010001:
        StorageDescription: CF
        VolumeLabel: Ingen
        Storage Type: Removable RAM (memory card)
        Filesystemtype: Digital Camera Layout (DCIM)
        Access Capability: Read-Write
        Maximum Capability: 16009461760 (15267 MB)
        Free Space (Bytes): 8068497408 (7694 MB)
        Free Space (Images): -1
Device Property Summary:
Property 0xd402:(read only) (type=0xffff) 'Canon EOS 50D'
Property 0xd407:(read only) (type=0x6) 1
Property 0xd406:(readwrite) (type=0xffff) 'Unknown Initiator'


/Anders
Comment 7 caulier.gilles 2011-12-18 13:56:34 UTC
Falolaf,

This file still valid using digiKam 2.4 ?

Gilles Caulier
Comment 8 falolaf 2011-12-18 18:33:35 UTC
I will test during the week and get back with the results.

/Anders
Comment 9 falolaf 2011-12-20 10:11:33 UTC
I have tested with 2.4.1 on openSUSE 12.1 and the problem is still there.

As long as the camera is connected the imported images is remembered. But when reconnecting the history is lost.

I have only tested with CR2 from EOS 50D.

/Anders
Comment 10 Albert Cervera Areny 2012-08-30 21:57:07 UTC
Same problem here with two cameras: Canon EOS 1100D and Canon IXUS 850 IS.

If added manually, they work correctly.
Comment 11 Teemu Rytilahti 2013-12-05 01:10:25 UTC
Is this still valid? I'd assume this is not the case, but it's replaced with the problem described in #313678...
Comment 12 falolaf 2013-12-05 07:41:17 UTC
(In reply to comment #11)
> Is this still valid? I'd assume this is not the case, but it's replaced with
> the problem described in #313678...

I would say it has been superseded by #313678!

/Anders
Comment 13 Teemu Rytilahti 2013-12-05 21:20:43 UTC
Unfortunately yes. Anyway, I'll mark this as a duplicate of it now even though it's a different issue. The current issue with invalid statuses will be tracked in that bug.

*** This bug has been marked as a duplicate of bug 313678 ***
Comment 14 caulier.gilles 2021-08-26 16:58:21 UTC
Fixed with #313678