View Single Post
Old 03-15-2021, 06:14 AM   #379
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,509
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
I'll do that then. I wonder if something might've gotten stuck in memory as that's the only thing I can think of. It does clear up on restart Calibre though.
I am posting part of my response to your bug report here just in case it helps trigger some ideas.
Quote:
Did you try connected_device_name() in the template tester in the library, outside of action chains? I ask because I see no way that the template can return a value once the device is fully disconnected.

Do note that connected_device_name() will return a non-empty value during the disconnect process. In particular it still has a value when the action chains device disconnected event occurs. If action chains remembers the result of a call to connected_device_name() during event processing then it will remember the wrong value.
chaley is offline   Reply With Quote