Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser: localstorage saved to cache folder irregularly Options
Sebastian
Posted: Wednesday, May 4, 2016 7:25:43 AM
Rank: Newbie
Groups: Member

Joined: 10/12/2015
Posts: 3
I am currently upgrading our Application from EO.WebBrowser 15.2.78.2 to the recent version 16.0.70.0.

I noticed some strange behaviour: Our application saves its state into the localStorage browser cache. It seems with the new version the localstorage is not persisted to disk immediately or when I quit our application. So sometimes when quitting right after changing something, this change is not saved.

Any ideas?
It seems to work fine with the older version
eo_support
Posted: Wednesday, May 4, 2016 10:40:47 AM
Rank: Administration
Groups: Administration

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

Can you try to isolate the problem into a small test app and then send the test app to us? See here for more details:

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

We will investigate further as soon as we receive that.

Thanks!
Sebastian
Posted: Friday, June 24, 2016 8:29:37 AM
Rank: Newbie
Groups: Member

Joined: 10/12/2015
Posts: 3
I just wanted to update my issue.

It is still there in the latest version 16.1.17.0, but I was not yet able to isolate it with a minimal test app unfortunately.
The last localstorage transaction of our AngularJS app seems to be missing after every restart.
eo_support
Posted: Friday, June 24, 2016 10:44:34 AM
Rank: Administration
Groups: Administration

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

You can try using our TabbedBrowser sample and see if the problem occurs. If the problems does not occur with our TabbedBrowser but occurs with your app, then you can compare the two and see what triggered the issues for you. If you can not find what triggered the problem, then we will need you to isolate the problem into a test project so that we can investigate further here. Otherwise it would be shooting in the dark and usually it is a waste of time for everyone.

Thanks!
Sebastian
Posted: Monday, October 23, 2017 8:00:14 AM
Rank: Newbie
Groups: Member

Joined: 10/12/2015
Posts: 3
### SOLUTION!
Just in case someone stumbles upoun this issue as well:
I managed to fixed the issue after almost 1,5 years ;-)

It seems chromium started to debounce the persistance of the localstorage changes to disk in some version to reduce file system I/O:
https://codereview.chromium.org/896643002

As we did not cleanly exit the EO.Browser all the time and just killed the whole application, the last write to disk was not always executed.
Solution is to cleanly exit the browser all the time:
webView.Close(true);
eo_support
Posted: Monday, October 23, 2017 9:17:20 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
That makes perfect sense. Thanks for sharing!


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.