-
Notifications
You must be signed in to change notification settings - Fork 29.3k
Closed
flutter/engine
#32118Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: desktopRunning on desktopRunning on desktopa: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-linuxBuilding on or for Linux specificallyBuilding on or for Linux specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
On Wayland, the first time a text field is focused the on-screen keyboard does not appear. To make it appear, you have to click the text box again. Confusingly, GNOME always requires two clicks to open it's OSK. On GNOME, the first time you have to click a text field 3 times and after that it's just 2.
The cause is that show()
in fl_text_input_plugin.cc calls gtk_im_multicontext_set_client_window()
. The first time any of the input module functions are called they initialize. However, initializing on Wayland requires multiple a server roundtrips, which the input module doesn't wait for therefor the first enable does not succeed but subsequent ones do.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)a: desktopRunning on desktopRunning on desktopa: text inputEntering text in a text field or keyboard related problemsEntering text in a text field or keyboard related problemsengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-linuxBuilding on or for Linux specificallyBuilding on or for Linux specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version