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>
Andi This bug is really old. I remember to have tested this issue with 0.8.x and it can be reproduced... I have never tested with 0.9.x or 0.10.0 Gilles
I can confirm this for 0.10... Andi
Note: My card reader will be listed as a USB device, so I would not add it as a "Mass Storage Camera" at all. But when I do and when I rename the camera, connection is broken. Andi
If i remember, the problem is in digikam/cameralist.cpp Gilles
SVN commit 967846 by cgilles: don't lost camera port when editing BUG: 131551 M +4 -2 cameraselection.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=967846