I'm working on a
lock screen plugin.
It uses a
ButtonTable nested inside a
FrameContainer.
Now, if I send my device to sleep and wake up, the performance differs heavily depending on the device state (file browser vs reader) and screensaver type:
- If screensaver is anything other than "Leave screen as-is" and I sent the device to sleep from an open book (reader state), the input performance of the buttons is very sluggish.
- If screensaver is "Leave screen as-is" or I sent the device to sleep from the file browser view, the input performance is perfect.
I've tried this without any screen updates from my code – aside of the ButtonTable's own ones.
As it's my first plugin and my experiences with KOReader are limited, I'm stuck and don't know how to debug further. Any help is appreciated.