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

Allow asking the soft keyboard from outside the window widget #1278

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

mshin-wolvic
Copy link
Collaborator

This patch fixes the issue that Chromium doesn't type nothing in the form. The problem was that the focused view notified from the system is not involved in the window widget which the keyboard widget is attached to. Since Chromium has a content view outside of the windows widget's layer, the focus view could be different with the window widget.

This patch allows asking the soft keyboard from the out side of the window widget.

This patch fixes the issue that Chromium doesn't type nothing in
the form. The problem was that the focused view notified from the
system is not involved in the window widget which the keyboard
widget is attached to. Since Chromium has a content view outside of
the windows widget's layer, the focus view could be different with
the window widget.

This patch allows asking the soft keyboard from the out side of
the window widget.
@mshin-wolvic mshin-wolvic requested a review from svillar February 29, 2024 08:58
Copy link
Member

@svillar svillar left a comment

Choose a reason for hiding this comment

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

Excellent analysis. It's a pity that the hierarchy is the widget container is as it is, but I guess is the best we could do provided the big differences between chromium and gecko. At some point we should revisit that for the Chromium case.

I just have to minor nits and then we could land the patch.

@svillar svillar changed the title Allow asking the soft keyboard from the out side of the window widget Allow asking the soft keyboard from outside the window widget Feb 29, 2024
@svillar svillar merged commit 08a729e into main Mar 1, 2024
20 checks passed
@svillar svillar deleted the close_keyboard_when_lost_focus branch March 1, 2024 08:54
svillar added a commit that referenced this pull request Jul 12, 2024
…#1278)"

This reverts commit 08a729e.

This was a previous attempt to fix the bug, but it was not really
doing that, so it seems safe to remove it.
svillar added a commit that referenced this pull request Jul 30, 2024
…#1278)"

This reverts commit 08a729e.

This was a previous attempt to fix the bug, but it was not really
doing that, so it seems safe to remove it.
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.

3 participants