-
-
Notifications
You must be signed in to change notification settings - Fork 971
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
Fix message recursion between wayland compositor (#5360) #5369
Fix message recursion between wayland compositor (#5360) #5369
Conversation
wengxt
commented
Aug 11, 2022
- Only update preedit if preedit changed.
- Only send cursor update if cursor position is not changed.
1. Only update preedit if preedit changed. 2. Only send cursor update if cursor position is not changed.
I dont follow the need for this. kitty already doesnt send anything in response to done events. |
the reason is that it’s triggered by preedit update when preedit is same. not explicitly reply anything to done. |
f5a18f5
to
2bb42e6
Compare
On Thu, Aug 11, 2022 at 06:52:57PM -0700, Weng Xuetian wrote:
> I dont follow the need for this. kitty already doesnt send anything in response to done events.
the reason is that it’s triggered by preedit update when preedit is same. not explicitly reply anything to done.
But does that actually cause an infinite recursion? And if so, why? And
why does it not show up under mutter?
|
Sorry, but I can easily reproduce it under mutter. You need to use an input method that has preedit. |
Upload a video as proof. 1.mp4 |
Then please specify how I can reproduce it. Which input method, and what kep presses to trigger it. |
Any input method that has preedit can be used to reproduce. ibus-rime, ibus-libpinyin, ibus-chewing, mozc, etc... rime might be the easiest one for you to find since it's just listed as "Rime" under Chinese in gnome-control-center. Those listed above should be able to produce some preedit if you just press any A-Z key. |
Ok I'll take a look at this a little later, thanks. |