-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Only show on-screen-keyboard and IME when editing text #3362
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks much better! How have you tested it?
I've tested it on a PinePhone Pro (Phosh). [edit] Tested on regular GNOME desktop too. It seems to be a bit expensive to call |
On Phosh, the keyboard pops up when a text widget is focused and it's hidden when the text widget looses focus. |
Nice! |
set_ime_allowed
Allow IME if
PlatformOutput::text_cursor_pos
isSome
.Frame::allow_ime
method #3313.