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

text-input: fix active instance tracking #1648

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kchibisov
Copy link
Member

Only one text-input must be enabled at a time, by checking the text-input id when issuing a request and comparing to the active one, however the regular Enabled events must be send for all of them, and as for the leave, we also send it for all the events to make it symmetrical with the `enter.

Fixes: 475072d (text-input: Ensure only one enabled...)
Fixes #1604.

--

Should be backported to patch release, otherwise text-input doesn't work at all.

@kchibisov
Copy link
Member Author

Could you test this @hayandev with chrome?

Only one text-input must be enabled at a time, by checking the
text-input id when issuing a request and comparing to the active one,
however the regular `Enabled` events must be send for all of them,
and as for the leave, we also send it for all the events to make it
symmetrical with the `enter.

Fixes: 475072d (text-input: Ensure only one enabled...)
Fixes Smithay#1604.
@hayandev
Copy link
Contributor

Could you test this @hayandev with chrome?

It works great!
Thank you for fixing the code I made a mistake in. I’ve just started developing a Linux desktop environment.
so, I would appreciate your understanding and forgiveness. Thank you so much for creating such a fantastic project.

@PolyMeilex PolyMeilex added the PR: needs back-porting PR that is non-breaking and should be backported once merged label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: needs back-porting PR that is non-breaking and should be backported once merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Double input with fcitx5 on chrome dev under some cases
3 participants