← Back to team overview

touch-packages team mailing list archive

[Bug 1487754] Re: Local storage not working properly

 

It looks like a race condition to me. I managed to observe this only
once in repeated attempts: the last item I entered in the todo-list
didn’t get saved. Since bug #1456267 was fixed (in oxide 1.8), local
storage data gets flushed to disk when the app becomes inactive, which
happens as soon as opening the apps exposé. It could be that the app was
closed fast enough that it didn’t allow the data to actually be written
to disk. Not sure what can be done about that. Adding an oxide task to
track the issue anyway.

** Also affects: oxide
   Importance: Undecided
       Status: New

** Changed in: webbrowser-app (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to webbrowser-app in Ubuntu.
https://bugs.launchpad.net/bugs/1487754

Title:
  Local storage not working properly

Status in Oxide:
  New
Status in webbrowser-app package in Ubuntu:
  Invalid

Bug description:
  Hi,

  I noticed some days ago now, that local storage (and may be other web storage) not persist data randomly.
  It's pretty easy to show the issue with a website which use local storage.

  To reproduce this issue :
  - With a phone or emulator, go to  http://todomvc.com/examples/angularjs/
  - Create a simple todo list
  - Close the browser
  - Open the browser
  - And go back to  http://todomvc.com/examples/angularjs/
  - If data are correctly restored, reproduce all the step and you will see, sometimes, it not restore the last local storage.

  So the issue is present in Browser.

  I also noticed, it happens in webview, for example in my application : https://uappexplorer.com/app/yaoswa.inglebard 
  So the problem exist in Webview too.

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


References