Skip to content

v0.2.0

Choose a tag to compare

@titandrive titandrive released this 20 Jun 21:24
· 29 commits to main since this release

Highlights

KOBoard 0.2.0 substantially improves the reliability of text entry through Android system keyboards. This release replaces the bridge's fabricated cursor state with Android's real editable and composition state, keeping KOReader and the active IME synchronized as text changes.

Fixed

  • Removed random x insertions caused by returning a hard-coded x as the text before the cursor.
  • Prevented other stray or repeated characters from transient IME composition updates.
  • Fixed the first keystroke sometimes being ignored when an IME began a composing sequence.
  • Fixed backspace occasionally duplicating the current word instead of deleting text.
  • Improved handling of autocorrection and composing-text replacements by forwarding only the actual difference between the previous and updated text.
  • Improved deleteSurroundingText, code-point deletion, and Delete key-event handling.

Technical changes

  • Text mutations now run through Android's BaseInputConnection editable buffer.
  • KOBoard computes the common prefix and suffix around each edit, then forwards only the required deletions and inserted text to KOReader.
  • Deletion still falls back to the file bridge for text that existed before the current Android input connection was created.
  • The corrected Android component is rebuilt and embedded directly in the plugin.

Installation

Download koboard.koplugin.zip, extract it, and copy the koboard.koplugin directory to /sdcard/koreader/plugins/. Replace the existing directory when upgrading, then fully restart KOReader so the updated Android component is loaded.

KOBoard remains Android-only and experimental. Advanced IME gestures may still be limited by the file-based bridge.