View Single Post
Old 07-27-2020, 09:37 AM   #3
pazos
cosiņeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by rfog View Post
PS: BTW, Android KOReader works very bad. It locks, refuses to start most of time...
That's not true. It can be true that KOReader on your device works very bad, but your device is not the entire android!!!

Anyways there's only a reason for system locks:

- configuration changed somehow (changed sim, attach/deattach a pointer device, a change on the underlying hardware is notified by the framework, unknown samsung thingies related or not to Dex...)

Please check if you can reproduce the locks with a recent-ish release (any release after https://github.com/koreader/koreader/pull/6416, 5 days ago)

About refusing to start it is probably the visible result or a soft lock. The event thread dies after an unhandled configuration change.

The other thing that can make the program refusing to open is LuaJIT being killed by battery optimizations. I can only reproduce this on Android 10 and only if the system is under heavy load for a lot of time. In theory it could affect devices with older versions for some vendors. See https://dontkillmyapp.com

Anyways, whatever the reason that causes softlocks, it is easy to know getting an adb log. Feel free to open a ticket if you find a bug on latest nightly.

Remember that a bug report without logs is useless.

Quote:
Originally Posted by Pajamaman View Post
Koreader has some issues with the back button exiting. Pazos very kindly compiled a no back button version for me.
Thanks again for reporting and testing changes!. These changes are already available on latest releases so there's no need to use the APK I built. That was only meant to test if it worked.
pazos is offline   Reply With Quote