Starting KOReader from CC works only if KOReader was not running before
I have Calibre Companion 5.4.4.19 on Onyx BOOX Poke 2 (Android 9)
and I use to open books directly from CC by clicking the Read button there to open Koreader (2020.08.01) with that book.
But this works only if Koreader was not running before, if KOReader was already open with another book before, it remains hanging.
I've collected logcat logs to see what is going on and see that CC starts Koreader apparently with this:
I ActivityManager: START u0 {act=android.intent.action.VIEW dat=content://com.multipie.calibreandroid.provider/external/Calibre_Companion/Después del amor - Sonsoles Ónega.epub typ=application/epub+zip flg=0x10008001 cmp=org.koreader.launcher/.MainActivity} from uid 10083
and then, if KOreader was not running before I see later that it gets started and it opens.
If it was already open before, it shows these lines:
KOReader: Engine thread destroy requested!
KOReader: got error waiting for events: ffi/input_android.lua:168:
application forced to quit
and then it hangs ...
Not a huge problem for me as I know it, but perhaps easy to solve ?
Btw, I observed the same behaviour on my Samsung S7 mobile with Android 8 so it is not specific to Onyx device
Thanks, Norbert
|