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

Fix IME not working in some scenarios. #16476

Merged
merged 2 commits into from
Sep 12, 2024
Merged

Conversation

kkwpsv
Copy link
Contributor

@kkwpsv kkwpsv commented Jul 26, 2024

What does the pull request do?

  • If other service trigger OnNameChange before GetNameOwnerAsync, then we will incorrectly connect to other service, and will be stuck at Connect. We should ignore irrelevant services.

  • WatchNameOwnerChangedAsync should be called only once.

d7904b3 changed the previous behavior, and caused this bug.

What is the current behavior?

IME not work in the above scenario

What is the updated/expected behavior with this PR?

IME works.

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

* If other services trigger `OnNameChange` before `GetNameOwnerAsync`, then we will incorrectly connect to other services, and will be stuck at `Connect`. We should ignore irrelevant services.

* `WatchNameOwnerChangedAsync` should be called only once.
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0050470-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 added bug os-linux backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch labels Jul 26, 2024
@maxkatz6 maxkatz6 requested review from kekekeks and jmacato July 26, 2024 04:05
@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0050492-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

Copy link
Member

@jmacato jmacato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jmacato jmacato added this pull request to the merge queue Sep 12, 2024
Merged via the queue into AvaloniaUI:master with commit ad8e67c Sep 12, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch bug os-linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants