WebView2Feedback icon indicating copy to clipboard operation
WebView2Feedback copied to clipboard

Hololens 2 virtual keyboard sometimes does not pass value to textinput in WebView2

Open ZbynekImmersive opened this issue 2 years ago • 3 comments

Description

We are attempting to implement uwp application for Hololens 2 using WebView2. Hololens 2 device is updated with insider preview build. We have encountered issue where on certain website the virtual keyboard does not update textinput field. This renders our app useless. When we try doing the same thing in Microsoft Edge on Hololens 2 the virtual keyboard works as expected. This is why we presume it is WebView2 issue.

Version Framework: UWP OS: Hololens 2 Win11 latest insider preview build

Repro Steps

  1. Download webview2_sample_uwp from https://github.com/MicrosoftEdge/WebView2Samples
  2. In Browser.xaml.cs change _homeUrl to "https://www.skoda-scholaris.ys-beta.cz/creator/"
  3. Have Hololens 2 with Microsoft insider preview build
  4. Deploy app to Hololens 2
  5. When application loads click on "External Sign In" button and attempt to write something into username or password field with virtual keyboard
  6. Observe that keyboard says "Can´t show preview" and pressing keys does not trigger any changes.

Virtual keyboard should change value of the focused text-input field.

AB#45067760

ZbynekImmersive avatar Jun 14 '23 11:06 ZbynekImmersive

@champnic @jennifer-jacobs Do you know the correct person to look into this issue?

david-risney avatar Jun 15 '23 16:06 david-risney

Thanks for the bug report @ZbynekImmersive - sorry you are running into this. I've added it as a bug on our backlog.

You mentioned that this happens on "certain websites". Are you unable to enter text on any website and any text input field (does bing.com search work?) or only on the website you mentioned? If so I would check if there's anything obviously different between the inputs that work and those that don't.

champnic avatar Jun 15 '23 20:06 champnic

@champnic I can confirm that this happens on any website using iframes (example: https://www.w3schools.com/html/html_iframe.asp)

Are there any updoming updates to the WebView2 UWP/HoloLens package?

ArDevKarl avatar Sep 09 '24 13:09 ArDevKarl