Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore keypresses during IME composition #1573

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

Guldoman
Copy link
Member

@Guldoman Guldoman commented Aug 5, 2023

Some IMEs continue sending keypresses even during composition, so we just ignore them.

I'm moving this to be more generic (cause even some IMEs on Linux send the events, need to investigate more, might be an SDL issue), while still retaining mouse commands like scroll.

This is still not enough, as we're receiving some textinput events too while we should not, but we can't disable those because that's how we receive the final IME composition...

Some IMEs continue sending keypresses even during composition, so we 
just ignore them.
@takase1121
Copy link
Member

In case this PR is merged, let's track the textinput problem in the issue tracker.

@Guldoman Guldoman merged commit 8ccdcb7 into lite-xl:master Oct 18, 2023
takase1121 pushed a commit to takase1121/lite-xl that referenced this pull request Oct 18, 2023
Some IMEs continue sending keypresses even during composition, so we 
just ignore them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants