|
Rank: Advanced Member Groups: Member
Joined: 10/4/2016 Posts: 104
|
Hi,
It appears that if you move the window (dragging in it back and forth with the mouse on the desktop) and invoke at the same time webView.GetHtml() within the webContainer of that moving window, then the window freezes. Actually the whole desktop freezes. However simply doing ALT Tab will get you out of this state.
This is really not a major issue for us. Getting the HTML source this way is not even the right way to obtain it for most of the page, just wanted to bring this to your attention just in case this may reveal a more fundamental issue.
Regards
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Thank's an interesting scenario. Thanks for bringing this to our attention. We will look into it and see what we can find.
|
|
Rank: Newbie Groups: Member
Joined: 8/8/2017 Posts: 7
|
I have a freeze problem with WPF application when WebControl is dynamically added into MainWindow and the control/webview starts to load and same time i start to move MainWindow the whole Windows Desktop freezes and can be un-freezed for example by pressing CTRL-ALT-Del.
I don't use the GetHTML() and have not been able to reproduce this with the sample application. This is probably some special case that triggers this (deadlock?) and so this is just information if you happen to found out something what could cause that GetHTML problem so i can also test if it helps with my issue.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
This has to do with a blocking message loop that we use --- this loop is being used by all synchronous calls to the browser engine. GetHTML and WebView initialization are just two of them. We will look into this and see if we can avoid the lock up in this case.
Thanks!
|
|