Created attachment 524 [details]
Illustrates the problem with text suggestions, picture 1
Google Chrome on Android devices shows text suggestions on the on-screen keyboard. This also means that you are able to type using "gesture typing" or voice commands which input multiple characters at a time. Using these special input methods while typing works well with our current implementation with one exception:
When you change text field or application within the remote session, there is no way for the HTML5 client to know, thus the on-screen keyboard will behave like we are continuing to type in the same field.
This problem, and that generally users might expect to not have text-suggestions/autocorrect/autocomplete/spellcheck in a web-application like the HTML5 client leads to that we want to disable this.
Firefox on Android and supposedly Internet Explorer on Windows Phone allows disabling this through respecting the css-style "ime-mode: disabled". Safari on iOS respect the HTML attributes autocapitalize="off", autocorrect="off", autocomplete="off" and "spellcheck="false". Chrome on Android does currently not have any way to disable this functionality though.
Bug for "ime-mode" in webkit: https://bugs.webkit.org/show_bug.cgi?id=21279
noVNC bug upstream: https://github.com/kanaka/noVNC/issues/357
Created attachment 525 [details]
Illustrates the problem with text suggestions, picture 2
Created attachment 526 [details]
Illustrates the problem with text suggestions, picture 3
Still a problem with latest trunk. Tested with Chrome 77.