Skip to content

fix: refresh IME analysis on selection changes - #9

Open
zefutoff wants to merge 1 commit into
mainfrom
fix/ime-selection-refresh
Open

zefutoff wants to merge 1 commit into
mainfrom
fix/ime-selection-refresh

Conversation

@zefutoff

@zefutoff zefutoff commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Refresh Grammalecte IME analysis when the editor selection changes while the IME is already open.

This fixes editors where the user switches to Grammalecte before selecting the text to correct.

Changes:

  • handle Android selection updates in the IME;
  • debounce selection refreshes;
  • invalidate stale analyses when the selection becomes empty;
  • extend the real InputConnection instrumentation test to cover late selection;
  • update testing documentation and changelog.

Validated locally with:

  • make check
  • make assemble
  • full :app:connectedDebugAndroidTest
  • Samsung Galaxy S21 / Android 15
  • Proton Mail late-selection workflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant