Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 10-15-2025, 11:40 AM   #1
oleasteo
Junior Member
oleasteo began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2025
Location: Germany
Device: Kindle Oasis, Kobo Aura
[plugin dev] Input performance covers_fullscreen from reader view

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.
oleasteo is offline   Reply With Quote
Old 10-15-2025, 03:20 PM   #2
oleasteo
Junior Member
oleasteo began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2025
Location: Germany
Device: Kindle Oasis, Kobo Aura
I think I've found the culprit: Disable double tap solves the issue.
Now, it's always pleasantly snappy.

Is there anything I can do in the code to the same effect on my overlay widget? So that I wouldn't need to bother my users?
oleasteo is offline   Reply With Quote
Old 10-22-2025, 06:18 PM   #3
oleasteo
Junior Member
oleasteo began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Oct 2025
Location: Germany
Device: Kindle Oasis, Kobo Aura
Lightbulb

For reference, I found the

Code:
disable_double_tap = true
option to be set on any widget passed to UIManager:show 🙂 Works well!
oleasteo is offline   Reply With Quote
Reply

Tags
plugin


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Input] Doc Input Libreoffice Plugin sac Plugins 11 03-15-2025 08:08 AM
[Conversion Input] Microsoft Doc Input Plugin igi Plugins 77 03-08-2025 05:04 AM
Reset /dev/input/event1 bitfreak Kobo Developer's Corner 2 01-17-2024 02:06 PM
[FileType Plugin] LCPL Input Plugin Leseratte_10 Plugins 1 10-06-2021 04:58 AM
[Input Plugin] DOCX Input SauliusP. Plugins 42 06-05-2013 05:01 AM


All times are GMT -4. The time now is 06:41 PM.


MobileRead.com is a privately owned, operated and funded community.