Add invoke on-screen keyboard on desktop #109546
Labels
a: desktop
Running on desktop
a: text input
Entering text in a text field or keyboard related problems
c: new feature
Nothing broken; request for a new capability
c: proposal
A detailed proposal for a change to Flutter
engine
flutter/engine repository. See also e: labels.
r: solved
Issue is closed as solved
Use case
There are use cases where Flutter apps are used in Kiosks running desktop platforms that needs a virtual keyboard for input. Currently, the on-screen keyboard needs to be enabled in desktops to appear. Another workaround on Windows platform is to switch the device into tablet mode to automatically display the softkeyboard when a TextField is active.
The current behavior is understandable since most desktop machines use a physical keyboard.
Proposal
Add a function similar to
System.Diagnostics.Process.Start("osk.exe");
- where the on-screen keyboard can be invoked in Windows using C#. It'll be helpful if this can be also applied in macOS and Linux as well.The text was updated successfully, but these errors were encountered: