So, I think I've found the cause to atleast part of the issue. Recently, the app broke again failing to remember my tabs at all.
Looking in my files, I noticed a ~/.local/share/webbrowser- app/session.json.lock file, even though the app wasn't running. The actual session file was absolutely fine, and still contained my session from a couple of weeks earlier, the app just wasn't loading it due to the lock file. Deleting the lock file had my old session back up and running. Before I deleted it, I had a look at the lock file, and found that it was an empty file. I would have expected the app to write its PID into the lock file when creating it. Then, when the app opens and sees a lock file, it can check if the given PID exists, and if so exit. If the process no longer exists, then it can take over ownership of the lock file. Perhaps implementing this kind of basic behaviour would be enough to fix this issue, as it looks like it may just be a crashing application failing to remove its lock file. -- 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/1610534 Title: Open tabs keep getting forgotten Status in webbrowser-app package in Ubuntu: New Bug description: The browser app keeps forgetting my open tabs on a semi-regular basis. It seems to happen to me every couple of weeks or so, I will open the app and all my tabs are gone. This is very frustrating, as there is no easy way to recover them. I think it may actually happen more frequently when there are around 7/8 tabs or more open. OTA-12 (and previous versions), mako. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1610534/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp