Hi Olivier,

What do you mean by "inactive" ?


In navigator :

After localstorage change, I try to wait less than 5 second before close the 
app. It happens several times.
After localstorage change, I try to wait 5 second before close the app. It 
happens 1 time.
After localstorage change, I try to wait 10 second before close the app. It 
never happens.

So maybe there a race condition like you said.


In webview :

I try to find a workaround for my app. 
And now data are only flush only once during the first launch of the app.
Other write never flush to local storage after app exit.
I can wait more than 10 minutes or put it in the background or lock the screen 
nothing is flush to local storage.


My code cannot be a problem because it works well during runtime (And I read 
directly in local storage). There are also no issue on desktop browser 
(chromium,firefox).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1487754

Title:
  Local storage not working properly

To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1487754/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to