[Bug 149786] Digikam should try to reconnect to camera after the connection has expired

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 149786] Digikam should try to reconnect to camera after the connection has expired

Marcus Meissner-4
https://bugs.kde.org/show_bug.cgi?id=149786





--- Comment #5 from Marcus Meissner <marcus jet franken de>  2011-08-05 09:20:38 ---
Lifetime management of a plugged in camera is difficult.

Strategies:
- Watch for udev / hotplug events when the camera is removed and either close
the dialog. I am not sure if KDE offers such a framework.

- As long as dialog is open try pinging the camera regulary might work, but
then what if you forget this window and the camera battery is drained.

- Or, detect IO error from the libgphoto2 API calls and reconnect after popping
up a dialog?



GNOME has a "gvfs" gphoto2 daemon which will attach to the cameras as soon as
it plugged (and currently not let go from it). They see however a switch off
and then unplug the service (after udev events).


Suggestion is either to handle plug/unplug events ... or just ignore the issue
for now (and hope users use it in a single shot import fashion usually).

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel