[Digikam-devel] [Bug 149786] Digikam should try to reconnect to camera after the connection has expired
Marcus Meissner
marcus at jet.franken.de
Fri Aug 5 10:20:38 BST 2011
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.
More information about the Digikam-devel
mailing list