Closed jpellegrini closed 4 years ago
I confirm the same behaviour on Darktable >= 3.0.0 (maybe before 3.0.0, but I was not using darktable to directly import from my camera at that time). The problem is not limited to tethering, it also shows when importing images from the camera via USB. Camera in use: Nikon D90.
Yes, this is really a bug and unfortunately the current implementation of camera/card updates and propagated signals is broken since quite a time. I already have an idea about what is wrong and how it can be fixed, there are more issues around related to this.
@TurboGit Please assign me, i will track it down and after fully understanding & fixing will do a pr.
Done, TIA.
The issue: In the lighttable view, if a camera is already detected, the cable is removed, reinserted and I click on "scan for devices", it will be listed a second time. and a third, fourth times, as many times as I repeat this. Also, if I try to use the "tethered shooting" buttin from the detected-and-removed device, darktable stalls (does not refresh the GUI at all).
To Reproduce:
Expected behavior: I would expect darktable to notice that the camera is not connected anymore, so this would probably solve both problems: it would not stall trying to access the camera through a USB device that is not active anymore, and would also not list the same camera twice.
Platform: