|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
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.aspxWe will investigate further as soon as we receive that. Thanks!
|
|
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.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
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!
|
|
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/896643002As 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);
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
That makes perfect sense. Thanks for sharing!
|
|