Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebView2 on UWP doesn't support multi-instance app #6253

Closed
1 of 2 tasks
ayamadori opened this issue Nov 7, 2021 · 7 comments
Closed
1 of 2 tasks

WebView2 on UWP doesn't support multi-instance app #6253

ayamadori opened this issue Nov 7, 2021 · 7 comments
Labels
area-WebView closed-Won'tFix Described behavior will not be fixed. product-winui2 team-Rendering Issue for the Rendering team

Comments

@ayamadori
Copy link

ayamadori commented Nov 7, 2021

Describe the bug

UWP supports multi-instance app.
https://docs.microsoft.com/en-us/windows/uwp/launch-resume/multi-instance-uwp
WebView2 can be shown on each app instances(windows), but disappear all when close the "first" instance.

Steps to reproduce the bug

  1. Create a UWP project
  2. Install WinUI 2.8 prerelease which provides WebView2
  3. Add a WebView2 to MainPage
  4. Change package.appxmanifest to suport multi-instance
  5. Launch app (first instance)
  6. Launch app again (second instance)
  7. Close app window that launched at 5.

Expected behavior

WebView2 on the second instance window is unchanged.

Screenshots

recordedVideo2021-11-07-150624.mp4

NuGet package version

2.8.0-prerelease.210927001

Windows app type

  • UWP
  • Win32

Device form factor

Desktop

Windows version

No response

Additional context

When close the "second" instance at first, "first" instance is unchanged as expected.

@ghost ghost added the needs-triage Issue needs to be triaged by the area owners label Nov 7, 2021
@StephenLPeters StephenLPeters added the team-Rendering Issue for the Rendering team label Feb 10, 2022
@StephenLPeters
Copy link
Contributor

@codendone and @krschau FYI

@bpulliam bpulliam removed the needs-triage Issue needs to be triaged by the area owners label Dec 6, 2022
@aquinn39
Copy link

aquinn39 commented Feb 1, 2023

Are there any updates on this? I have this issue as well.

@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@aquinn39
Copy link

aquinn39 commented Aug 1, 2023

For me this issue still exists, and is a big problem.

@llongley llongley closed this as not planned Won't fix, can't repro, duplicate, stale Oct 20, 2023
@llongley llongley added the closed-Won'tFix Described behavior will not be fixed. label Oct 20, 2023
@aquinn39
Copy link

@llongley What is the reason why this this is not planned on being fixed? This is very basic functionality as many apps support multiple instances, including Microsoft's own. Are these apps going to have to be stuck using the old WebView?

@DmitriyKomin
Copy link
Contributor

@aquinn39 - apologies for the cold close, we are still refining our bookkeeping process/tools :-(. The context here is we are unfortunately unable to investigate most UWP/WinUI2-only given the focus WinUI3 (more on the policy here).

@aquinn39
Copy link

@DmitriyKomin Ahh, I see, that's a shame. Thanks for letting me know why it was closed anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-WebView closed-Won'tFix Described behavior will not be fixed. product-winui2 team-Rendering Issue for the Rendering team
Projects
None yet
Development

No branches or pull requests

7 participants