[Bug 1531583] Re: Webbrowser-app losing saved state upon restart
** Changed in: canonical-devices-system-image Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531583 Title: Webbrowser-app losing saved state upon restart To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1531583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531583] Re: Webbrowser-app losing saved state upon restart
This bug was fixed in the package webbrowser-app - 0.23+16.04.20160322-0ubuntu1 --- webbrowser-app (0.23+16.04.20160322-0ubuntu1) xenial; urgency=medium * Make google maps work in complete mode on tablets. (LP: #1560079) * Tentative fix for a bug where the session state stored on disk is apparently corrupted, thus discarding the current browsing session. (LP: #1531583) -- Olivier TilloyTue, 22 Mar 2016 06:46:57 + ** Changed in: webbrowser-app (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531583 Title: Webbrowser-app losing saved state upon restart To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1531583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531583] Re: Webbrowser-app losing saved state upon restart
** Changed in: canonical-devices-system-image Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531583 Title: Webbrowser-app losing saved state upon restart To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1531583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531583] Re: Webbrowser-app losing saved state upon restart
** Changed in: canonical-devices-system-image Status: New => In Progress ** Changed in: canonical-devices-system-image Importance: Undecided => High ** Changed in: canonical-devices-system-image Assignee: (unassigned) => Bill Filler (bfiller) ** Changed in: canonical-devices-system-image Milestone: None => ww08-2016 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531583 Title: Webbrowser-app losing saved state upon restart To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1531583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531583] Re: Webbrowser-app losing saved state upon restart
** Also affects: canonical-devices-system-image Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531583 Title: Webbrowser-app losing saved state upon restart To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1531583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531583] Re: Webbrowser-app losing saved state upon restart
** Changed in: webbrowser-app (Ubuntu) Assignee: (unassigned) => Olivier Tilloy (osomon) ** Changed in: webbrowser-app (Ubuntu) Status: Incomplete => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531583 Title: Webbrowser-app losing saved state upon restart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1531583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531583] Re: Webbrowser-app losing saved state upon restart
** Branch linked: lp:~osomon/webbrowser-app/sessionstorage-race -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531583 Title: Webbrowser-app losing saved state upon restart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1531583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531583] Re: Webbrowser-app losing saved state upon restart
A wild guess is that the browser is trying to save the current session while the app gets suspended, resulting in a corrupt session file. When the app is launched again, it tries to read the corrupt file, and falls back to not restoring anything. I’ll see if I can add a mechanism to ensure that the session state is written to a temporary file first, and if that succeed, move that file to the browser’s data directory. This will hopefully make it more robust. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531583 Title: Webbrowser-app losing saved state upon restart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1531583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531583] Re: Webbrowser-app losing saved state upon restart
Browser has 2 tabs open , i go away from the the browser to use another app, when i come back the browser is blurred and reloads only the startpage. Can be reproduced again and again. OTA9 on BQ Aquaris 4.5 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531583 Title: Webbrowser-app losing saved state upon restart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1531583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531583] Re: Webbrowser-app losing saved state upon restart
I’ve never hit that issue myself, but it is concerning indeed. The state file after the app has restarted will almost always look normal and reflect the current state, so it won’t be very interesting. What would be much more interesting for debugging purposes is the state file after the app has crashed/been killed and before it is launched again. ** Changed in: webbrowser-app (Ubuntu) Importance: Undecided => High ** Changed in: webbrowser-app (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531583 Title: Webbrowser-app losing saved state upon restart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1531583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1531583] Re: Webbrowser-app losing saved state upon restart
OK, just had this happen to me again when I was in a position to debug it. I had several tabs open. I later went back to the webbrowser-app (don't remember if it restarted or I was opening it fresh or what) and the tabs were gone, replaced by the start page. The session files seem normal (i.e. they describe the current state of the webbrowser-app). .local/share/webbrowser-app/session.json: {"currentIndex":0,"tabs":[{"uniqueId":"BrowserTab_QMLTYPE_170(0xb87282a8)-1452995535081","url":"http://start.ubuntu.com/current/Google/?sourceid=hp","title":"Ubuntu Start Page","icon":"http://start.ubuntu.com/favicon.ico","preview":"","savedState":"MAMAAAUAAABveGlkZQEBADMAAABodHRwOi8vc3RhcnQudWJ1bnR1LmNvbS9jdXJyZW50L0dvb2dsZS8/c291cmNlaWQ9aHAAEQAAAFUAYgB1AG4AdAB1ACAAUwB0AGEAcgB0ACAAUABhAGcAZQAAAGwCAABoAgAAFwBmaAB0AHQAcAA6AC8ALwBzAHQAYQByAHQALgB1AGIAdQBuAHQAdQAuAGMAbwBtAC8AYwB1AHIAcgBlAG4AdAAvAEcAbwBvAGcAbABlAC8APwBzAG8AdQByAGMAZQBpAGQAPQBoAHD/AAD/FQAAAF4KAA0APwAlACAAQgBsAGkAbgBrACAAcwBlAHIAaQBhAGwAaQB6AGUAZAAgAGYAbwByAG0AIABzAHQAYQB0AGUAIAB2AGUAcgBzAGkAbwBuACAAOQAgAAoADQA9ACYAAABOaAB0AHQAcAA6AC8ALwB3AHcAdwAuAGcAbwBvAGcAbABlAC4AYwBvAG0ALwBzAGUAYQByAGMAaAAgAFsAcQAgAGkAZQAgAF0AIAAjADACNgIAAABxDHMAZQBhAHIAYwBoAAIwDgAAAGMAaABhAG4AbgBlAGwMaABpAGQAZABlAG4AAgAAADAMYwBsAGkAZQBuAHQADGgAaQBkA GQAZQBuAAIwBGgAbAAMaABpAGQAZABlAG4AAgAAADAEcwBhAAwAAABoAGkAZABkAGUAbgACMAQAAABpAGUADGgAaQBkAGQAZQBuAAIwCPA/ikW+530pBQCLRb7nfSkFAAEIAAAIAAD/AAEAAAEYaHR0cDovL3N0YXJ0LnVidW50dS5jb20vAPyVRDAUiC4AAMgBAA=="}]} .local/share/webbrowser-app/session.json.lock: 851 webbrowser-app ubuntu-phablet (851 is the current webbrowser-app instance, showing the start page) There are several crash files, but nothing for webbrowser-app. Anything else to try? This has happened to me several times since reporting it ten days ago. Maybe 3 or 4 in that time? Very annoying. And we're about to release OTA 9, presumably with this bug still present. Has anyone else hit this? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1531583 Title: Webbrowser-app losing saved state upon restart To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1531583/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs