GameBarBrowser icon indicating copy to clipboard operation
GameBarBrowser copied to clipboard

Tracking issue for WinUI 3 support on game bar

Open superusercode opened this issue 4 years ago • 8 comments

Necessary to use webview2 in this uwp app (https://github.com/MicrosoftEdge/WebView2Feedback/issues/186) Currently tracked @ https://github.com/microsoft/XboxGameBarSamples/issues/100

superusercode avatar Jun 28 '21 04:06 superusercode

Thank you for the track.

dynamiquel avatar Jun 29 '21 20:06 dynamiquel

https://www.theregister.com/2021/07/02/uwp_microsoft_winui3/ MS will not be supporting winui3 on UWP officially as of today - making it unlikely that webview2 will be available anytime soon.

superusercode avatar Jul 03 '21 21:07 superusercode

Rip UWP.

dynamiquel avatar Jul 04 '21 12:07 dynamiquel

We're still working with the Windows team on WebView2 support for UWP for Game Bar. It's not committed yet, but we're hoping to make it happen.

vidager avatar Jul 04 '21 19:07 vidager

@dynamiquel webview on winui 2 is now available as preview https://blogs.windows.com/msedgedev/2021/08/31/webview2-windows-app-sdk-winui2-runtime-cdp-helper/

superusercode avatar Aug 31 '21 20:08 superusercode

@superusercode Thanks for this. Just looked it up and it seems like Microsoft.UI.Xaml 2.7.0-prerelease.210827001 does support WebView2. I'll try to find some time where I can update this app with WebView2 and all the other proposed features.

dynamiquel avatar Sep 01 '21 10:09 dynamiquel

I've given WebView2 a go. There have been many issues so far but they are manageable as the features are either not that important or a workaround has been implemented. However, there is one major issue, which is that WebView2 completely ignores keyboard input when in the Game Bar. I've spent a lot of time trying to find a solution but to no avail.

I wonder if this is something that must be fixed by the Game Bar team?

dynamiquel avatar Sep 04 '21 16:09 dynamiquel

I accidentally discovered that Webview2 recognizes the keyboard if you open the Emoji window (Win + .) so that it has a Search field.

Although it looks like a bug, it's interesting that technically it can work. 😅

Снимок экрана 2024-04-18 004258

Снимок экрана 2024-04-18 004205

Снимок экрана 2024-04-18 004248

WatislavB avatar Apr 17 '24 21:04 WatislavB