Quote:
Originally Posted by capink
I am not sure what is happening here. Next time this occurs, please test the condition also in calibre's template tester. If it returns the device name after you have removed it, open a bug report about it. If it is happening only with action chains condition evaluator, report back here.
|
I looked carefully at the mechanism that connected_device_name() uses and didn't see a way that it could return anything but '' if no device is showing on calibre's toolbar. It is possible that there can be a second or two delay after the eject, but in this case the calibre will still be showing the "toolbar when a device is connected".
Of course, me not seeing anything isn't definitive.