Bug 207936

Summary: Remote control of Camera (similar to gtkam)
Product: [Applications] digikam Reporter: Vikram Ramchandran <vikram.ramchandran>
Component: Import-Gphoto2Assignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: caulier.gilles, info, marcus, mike
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vikram Ramchandran 2009-09-20 03:07:56 UTC
Version:            (using KDE 4.3.1)
Compiler:          gcc version 4.4.1 (GCC)
 
OS:                Linux
Installed from:    Unspecified Linux

New feature request.

Allow the user to manipulate camera settings like aperture, shutter speed, ISO etc. remotely from digikam. This will add to current functionality of image capture.

libghoto currently has these features via the --get-config and --set-config settings on the command line or via the gtkam GUI.

many thanks for creating and maintaining digikam. This is one of my favourite apps.
Comment 1 Michael G. Hansen 2009-09-20 09:55:14 UTC
I had a look at how the --get-config and --set-config options in gphoto work a while back. Apparently, libgphoto does not provide direct access to these configuration options, but a configuration dialog. The command line gphoto program requests the configuration dialog and then analyzes the widgets in the dialog to see which options it can offer. When you use --set-config, it modifies the values of these widgets and "presses OK" in the dialog, all without ever showing it.

So there are two options:
- simply request the gtk-based configuration dialog from libgphoto and display it to the user
- reuse or rewrite the code that takes this dialog apart and create a KDE/Qt based one

`gphoto2 --summary` also shows camera properties, but I don't know how easy it is to relate these to the convenient options presented by --set-config.
Comment 2 Marcus Meissner 2009-09-20 10:01:59 UTC
The dialog is not a GTK dialog, it is more or less a abstract dialog tree.

The whole configuration display/setting is already implemented in the kio_kamera kconfig module.

Just the actual remote capture / preview is not implemented in a KDE/QT program yet.
Comment 3 caulier.gilles 2009-09-20 10:04:29 UTC
>- simply request the gtk-based configuration dialog from libgphoto and display
>it to the user

Certainly the better way. Never tested to be clear.

>- reuse or rewrite the code that takes this dialog apart and create a KDE/Qt
>based one

Already tested. Very difficult (look in cameraui dir, there is a Qt3 dialog code not compiled). Problem is the GTK loop messages and Qt signals/slots conversion. It think it's impossible to do. 

>`gphoto2 --summary` also shows camera properties, but I don't know how easy it
>is to relate these to the convenient options presented by --set-config.

Already implemented. Go to Device/Information dialog.

IMPORTANT : A camera capture tool is already implemented. I have used my old Olympus C3000Z few year ago, but now, device is dead. I cannot test anymore. Try it using Device/Capture dialog (work only with specific Gphoto2 camera)

Gilles Caulier
Comment 4 caulier.gilles 2009-09-20 10:13:00 UTC
Gphoto2 camera config dialog code : 

http://lxr.kde.org/source/extragear/graphics/digikam/utilities/cameragui/gpconfigdlg.cpp

Code do not compile and is not yet complete...

Gilles Caulier
Comment 5 Geert Janssens 2011-08-09 09:11:33 UTC
There are three enhancement requests for this in the database:
Bug 186574
Bug 207936
Bug 258227

Should they be marked as duplicates of only one ?
Comment 6 caulier.gilles 2011-12-18 14:09:11 UTC

*** This bug has been marked as a duplicate of bug 136742 ***