Welcome Guest Search | Active Topics | Sign In | Register

UrlChanged event not triggered on all changes for WebBrowser Options
Peavy
Posted: Wednesday, January 31, 2018 9:00:44 AM
Rank: Advanced Member
Groups: Member

Joined: 6/26/2015
Posts: 98
Hello,

We have run into occasions where the UrlChanged event does not trigger for all sites. It seems most of these would be on JavaScript based navigation. An example would be facebook.com. If you go to https://www.facebook.com/BillGates/ and click on any of the left-hand navigation links (About, Posts, Photos, Videos, ...), the UrlChanged event is not triggered for those. Clicking on those links in Chrome and other browsers updates the URL.

Is there something we are missing in order to have UrlChanged triggered on those occasions?

Thanks!
eo_support
Posted: Thursday, February 1, 2018 7:53:42 AM
Rank: Administration
Groups: Administration

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

We tested with our TabbedBrowser sample application and it seems to work fine. Can you try that on the latest build and see if it works for you?

Thanks!
Peavy
Posted: Thursday, February 1, 2018 5:13:53 PM
Rank: Advanced Member
Groups: Member

Joined: 6/26/2015
Posts: 98
Hello,

I just gave this a try in the latest version, 18.0.70.0, and it did not fire the event. I also ran the TabbedBrowser sample application and it did not work for me there as well. I even tried running the TabbedBrowser in debug mode from the project, set a breakpoint on the event, and it it never gets called when clicking on those links.

Thanks!
eo_support
Posted: Thursday, February 1, 2018 7:00:28 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
I am not sure what else to tell you then --- we test it here and it works fine. Our steps are:

1. Start TabbedBrowser application;
2. Load the facebook page;
3. Click any of the link on the left side;

We see the new page is loaded and the Url in the address bar is updated.
Peavy
Posted: Monday, February 5, 2018 12:31:57 PM
Rank: Advanced Member
Groups: Member

Joined: 6/26/2015
Posts: 98
I am not sure what is going on, but it is definitely not working with the TabbedBrowser example. Here are a few screenshots after I have clicked the links in the TabbedBrowser example showing the URL is not being updated.

https://imgur.com/a/abeup
eo_support
Posted: Monday, February 5, 2018 3:10:37 PM
Rank: Administration
Groups: Administration

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

I am not sure what else to tell you. Since we have no way of reproduce the problem, we have no way to proceed further. Please let us know if you find out some way to trigger the problem and we will look further.

Thanks!
Peavy
Posted: Tuesday, February 20, 2018 11:47:29 AM
Rank: Advanced Member
Groups: Member

Joined: 6/26/2015
Posts: 98
Hello,

We've been trying to see if we can make this work, but the issue remains no matter what we do. I have built against .NET Framework 4.5.2, 4.6.2, and 4.7. I am able to reproduce the issue on all of them. We are using Windows 10 for development, but also run the software on Windows Server 2012R2 and the issue appears on both systems. We've been able to reproduce it across 3 development machines and all of our production servers (roughly 20 Server 2012R2 AWS machines).

Pulling the Url property from the WebView after it has finished loading also gives us the "old" URL. The only way we are able to get the correct URL to be returned is to refresh the WebView after the page has loaded. Once it is refreshed, the UrlChanged event is triggered and we get the correct URL.

Is there any other data we can provide to help reproduce this? Thanks
eo_support
Posted: Wednesday, February 21, 2018 10:41:54 AM
Rank: Administration
Groups: Administration

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

Is it possible for you to setup a test AWS machine for us so that we can test it there (you can send the credential to us through private message)? We tested it on our own AWS instance and it works fine.

Another thing you can check is to use a network monitor such as Fiddler to check the network traffic. It is possible that the page indeed never redirect ---- it only loads the new contents through AJAX and make it looks like the page has been reloaded.

Thanks
Peavy
Posted: Monday, February 26, 2018 4:35:53 PM
Rank: Advanced Member
Groups: Member

Joined: 6/26/2015
Posts: 98
Hello,

I've sent you an email with details for the test AWS machine.

On all other browsers (Chrome, Firefox, IE, Edge), the address bar does update for these links.

Again, we are using https://www.facebook.com/BillGates to test. The left navigation links (Home, About, Posts, Photos, Videos, Notes, etc.) are the ones we see this behavior on.

Thanks!
eo_support
Posted: Monday, February 26, 2018 5:10:00 PM
Rank: Administration
Groups: Administration

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

We are not able to connect to the EC2 instance from here. Do you happen to have some rules on your security group that's blocking the connection from outside?

Thanks!
Peavy
Posted: Monday, February 26, 2018 5:16:34 PM
Rank: Advanced Member
Groups: Member

Joined: 6/26/2015
Posts: 98
Hello,

The security group is set to allow all IPs on port 3389. I have restarted the machine with a new public IP and sent you the info in an email.
eo_support
Posted: Monday, February 26, 2018 5:30:15 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
We can connect now. Please leave it running while we investigate this issue.

Thanks!
eo_support
Posted: Tuesday, February 27, 2018 3:58:19 PM
Rank: Administration
Groups: Administration

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

This is just to let you know that we have posted a new build that should fix this problem. You can download the new build from our download page. Please take a look and let us know how it goes.

Thanks!
Peavy
Posted: Thursday, March 1, 2018 9:52:04 AM
Rank: Advanced Member
Groups: Member

Joined: 6/26/2015
Posts: 98
The new build has resolved the issue.

Thanks!
eo_support
Posted: Thursday, March 1, 2018 1:19:22 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,071
Great. Thanks for confirming the fix!


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.