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

Don't split sending CommitText when auto-start conversion #72

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

ueno
Copy link
Owner

@ueno ueno commented Nov 8, 2023

When a candidate is selected as a result of typing an auto-start conversion character (e.g., "、"), CommitText signal is sent twice: one for the candidate and the other for the trigger character, which may confuse IBus and the former CommitText may be ignored. To work around the behavior, this patch coalesce those CommitText signals, while still sending it separately when the candidate is clicked by mouse.

Fixes: #71

When a candidate is selected as a result of typing an auto-start
conversion character (e.g., "、"), CommitText signal is sent twice:
one for the candidate and the other for the trigger character, which
may confuse IBus and the former CommitText may be ignored.  To work
around the behavior, this patch coalesce those CommitText signals,
while still sending it separately when the candidate is clicked by
mouse.

Signed-off-by: Daiki Ueno <dueno@redhat.com>
@ueno ueno merged commit 8a4ff24 into master Nov 8, 2023
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