[Digikam-devel] [Bug 131551] New: camera port info deleted when editing camera title

Mark Juhasz majuhasz at colby.edu
Sun Jul 30 15:18:10 BST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=131551         
           Summary: camera port info deleted when editing camera title
           Product: digikam
           Version: 0.8.1
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Camera GUI
        AssignedTo: digikam-devel kde org
        ReportedBy: majuhasz colby edu


Version:           0.8.1 (using KDE KDE 3.5.1)
Installed from:    SuSE RPMs
Compiler:          gcc 4.1 
OS:                Linux

When editing the entry for an existing camera (e.g. to change the title of the camera), port information is automatically deleted from the camera.   

For example:
A compact flash card is inserted in the card reader.  Digikam is loaded.  
Camera>Add Camera>Auto-Detect correctly configures the card, and labels it "Mass Storage Camera"
I can connect to this card and tranfer photos from it.  I can change the title of the camera (e.g. to "Compact Flash 1GB"), by Camera>Add Camera>Edit, I am able to change the camera name.  After this step is the problem.

Action:  try to connect to the renamed camera by Camera>Compact Flash 1GB

Expected Result: pictures on the Compact Flash card will be displayed

Actual Result: the pictures are not displayed.

How to reproduce:  after autodetecting the mass storage camera (a CF card), changing the name of the card results in  a failure to display pictures on the card

Other information:  The camera port information is apparently deleted automatically when editing the title of the camera.  The file cameras.xml confirms this.  Immediately after autodetection of the CF card, cameras.xml reads:

<!DOCTYPE XMLCameraList>
<cameralist client="digikam" version="1.0" >
 <item port="disk:/media/EOS_DIGITAL" title="Mass Storage Camera" model="Mass Storage Camera" path="/" />
</cameralist>

After renaming the camera to "Compact Flash 1GB" cameras.xml reads:

<!DOCTYPE XMLCameraList>
<cameralist client="digikam" version="1.0" >
 <item port="" title="Compact Flash 1GB" model="Mass Storage Camera" path="/" />
</cameralist>



More information about the Digikam-devel mailing list