CommunityToolkit / Microsoft.Toolkit.Win32

ARCHIVE - This repository contained XAML Islands wrapper controls and tooling for XAML Islands with WinUI 2, see readme for more info about XAML Islands with WinUI 3 and the WindowsAppSDK.
https://aka.ms/windowsappsdk
Other
383 stars 89 forks source link

WebViewCompatible.Navigate hangs indefinitely when called from view constructor #266

Open znakeeye opened 4 years ago

znakeeye commented 4 years ago

Create a WPF app, reference the NuGet (6.0.1) and add the following code. When run, it hangs indefinitely.

Sample code

public MainWindow()
{
    InitializeComponent();
    webView.Navigate("http://html5test.com");
}

Environment

NuGet Package(s): 
Microsoft.Toolkit.Wpf.UI.Controls.WebView

Package Version(s): 
**6.0.1**

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [X] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] Insider Build (build number: )

App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [X] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] Insider Build (xxxxx)

Device form factor:
- [X] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [ ] 2017 (version: )
- [ ] 2019 (version: ) 
- [X] 2019 (version: )

Additional context

Targeting .NET Framework 4.7.2.

ghost commented 4 years ago

Hello znakeeye, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

Kyaa-dost commented 4 years ago

@pagoe-msft ⬆️ This is also related to windows-toolkit/Microsoft.Toolkit.Win32#265

ghost commented 4 years ago

Hello znakeeye, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌