WinUI-Gallery icon indicating copy to clipboard operation
WinUI-Gallery copied to clipboard

Multiple Windows Webview2 component crash

Open officesolutions-it opened this issue 3 years ago • 5 comments

Which version of the app?

WinUI 3 Gallery

Description

Closing a new window when a webview2 component is loaded causes the application to crash.

If you go to Windows -> Create Multiple windows, then on the second window that opens, navigate to the WebView2 component, then attempt to close this window, this will cause a crash.

Screenshots

No response

Windows version

November 2021 Update/21H2 (19044)

Additional context

No response

officesolutions-it avatar Jun 21 '22 08:06 officesolutions-it

Duplicate of #964

bpulliam avatar Jun 21 '22 12:06 bpulliam

This is a separate issue, the one in #964 relates to the window not closing. This issue is the app crashes when attempting to close a WebView2 window.

officesolutions-it avatar Jun 22 '22 08:06 officesolutions-it

Fixed in Windows App SDK 1.1.2, see release notes for more info.

gabbybilka avatar Jul 05 '22 17:07 gabbybilka

I think @officesolutions-it is right, this is a different issue. Re-opening. This was not fixed in 1.1.2.

krschau avatar Sep 20 '22 19:09 krschau

Looks like duplicate of https://github.com/microsoft/microsoft-ui-xaml/issues/6872.

@officesolutions-it - can you try the workaround listed in that issue?

DmitriyKomin avatar Sep 21 '22 14:09 DmitriyKomin

Closing - duplicate of https://github.com/microsoft/microsoft-ui-xaml/issues/6872 , fixed in Windows App SDK 1.3.1 (1.3.230502000).

karkarl avatar Jan 11 '24 19:01 karkarl