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

InputMethod: Fix ProgressDialog is not used #459

Merged
merged 3 commits into from
Aug 15, 2023

Conversation

ryonakano
Copy link
Contributor

When I added InputMethod view in #287, I forgot to bring the logic to show the progress dialog from my InputMethod Plug. Thus, this dialog has been a died code since then and never been shown to user. This PR adds that logic and show the progress dialog while installing input method engine:

screenshot

ProgressDialog is destroyed when the progress become 100% or cancel button is
pressed, so we don't need to call destroy() here
Copy link
Collaborator

@jeremypw jeremypw left a comment

Choose a reason for hiding this comment

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

This works as expected and the code looks good.

There needs to be a solution for the fact that after installing a new engine it does not appear in the list of engines and cannot be used until the user logs out and in again.

If it cannot be automatic then a message informing the user of this is needed.

However that is outside the scope of this PR, I guess.

@jeremypw jeremypw merged commit c9f3bed into master Aug 15, 2023
@jeremypw jeremypw deleted the ryonakano/fix-progress-dialog-not-used branch August 15, 2023 12:20
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.

2 participants