Welcome Guest Search | Active Topics | Sign In | Register

Webbrowser/webview wont release focus? Options
Anders
Posted: Monday, February 28, 2022 8:59:23 AM
Rank: Newbie
Groups: Member

Joined: 2/28/2022
Posts: 2
Im currently evaluating your webbrowser control, and im very impressed so far, but i have one problem that i cant seem to get around.

I have a focus problem, I think, with the WebBrowser control in WPF.
I use the WebBrowser control to load Google Maps inside my wpf application.
This works just fine. But after i have interacted with the webview it seems to steal the focus from the rest of the app.
I have tried loading other websites than google maps, unfortunately with the same result.
It's hard to explain the issue so I made a short video showing what happens.

screengrab of the issue

What the video tries to show:
First i can click and select nodes in the treeview.
I then fold out the map without clicking on it, I can still change nodes in the treeview.
Then i unfold the map again but this time click on it so it gets focus.
After that i cant select treeview nodes anymore! For some reason the hover effect still works but the nodes are not selectable.
I have converted from the old .net WebBrowser control to your EO WebBrowser control, and have changed very little else. So im surprised why the treeview control stop working because of that, they are not even in the same dll's...

Do you have any ideas why this is happening?
Any tips on what i can try to do to get closer to the problem?
Anders
Posted: Monday, February 28, 2022 12:00:46 PM
Rank: Newbie
Groups: Member

Joined: 2/28/2022
Posts: 2
I think i found a solution to the problem.
It seems like it was another control (devexpress DockLayoutManager) that was interfering and when i changed that the Webcontrol and treeview control started cooperating.
eo_support
Posted: Monday, February 28, 2022 12:05:08 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Great. Thanks for the update!


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.