Quote:
Originally Posted by Rand Brittain
So, I have two Onyx devices that use KOReader, a Poke 3 and a Nova Air. On both of them, I notice that about one time in every ten or twenty, when I push the sleep button, the device doesn't actually go to sleep until the next time I touch the screen. When I do that, it immediately flips the page or opens the menu and then enters sleep mode.
I thought I should collect a bit more information before I file a bug report or the like. Has anybody else ever seen this issue?
|
Definitly not a bug at the application level. The power button isn't something that's forwarded to apps to react to.
It just happens that Onyx does some weird stuff at the framework level that might cause some issues on apps based on NativeActivity.
We did workaround some issues programatically on some models (random crashes because the framework doesn't abide to android's activities lifecycle). Some other issues need to be workarounded by users (like setting a custom debounce interval to workaround ghost touch issues)
They're just that: workarounds. The inner issues still stand and they need to be fixed at the framework/firmware level.
Saying that: you're very welcome to do a bug report. Just follow the template and attach the logs so we can chime in and figure if we can do something.
https://github.com/koreader/koreader...port.md&title=