Welcome Guest Search | Active Topics | Sign In | Register

Black screen while removing WPF EO Browser from visual tree Options
bnymellon
Posted: Friday, September 25, 2020 3:25:22 AM
Rank: Advanced Member
Groups: Member

Joined: 3/10/2020
Posts: 59
We use EO Browser in a WPF application which is developed using .NET framework 4.8 and VS2019.
Our application supports multi tab and we load web pages using EO browser within the tab.
While switching tabs we noticed a black screen coming up for few seconds before switches the tab and this happens when the EO browser is removed from the visual tree.

Please advise on this issue and let us know the workaround to resolve the same.
eo_support
Posted: Friday, September 25, 2020 1:32:15 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,078
Hi,

Unfortunately there isn't a lot can be done in this case. The issue is due to the fact the unload process is blocking thus prevent the UI from refreshing. The blocking can occur in multiple places:

1. Inside the web page. For example, if the page has JavaScript code that responds to unload/resize event, then those code will be called and the UI will not repaint until those code finishes running;
2. If you have some event driving code that is called while the tab is switched, it will have the same effect;

The goal would be try to minimize such code so that the freeze period is short enough thus not visible. If any case, if you can isolate the problem into a repro project we will be happy to analyze it here too. See here for more information on sending test project to us:

https://www.essentialobjects.com/forum/test_project.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.