Clear cache and cookies when uninstalling a WebApp

Bug #1486618 reported by Peter Bittner
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
click (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When a WebApp is uninstalled both cache and cookies should be removed to ensure a new installation will start from a clean state.

- Cache: $ rm -r /home/phablet/.cache/<name-of-app>
- Cookies: $ rm -r /home/phablet/.local/share/<name-of-app>

This issue has been discussed in "How clear cache and cookies of WebApp? (Gmail WebApp)" on the ubuntu-phone mailing list. A possible negative side-effect of *not* clearing cookies and cache is described in the thread.

- https://lists.launchpad.net/ubuntu-phone/msg14910.html
- https://lists.launchpad.net/ubuntu-phone/msg14861.html

Revision history for this message
Peter Bittner (peter-bittner) wrote :

A more elaborate approach to address this problem is described at https://lists.launchpad.net/ubuntu-phone/msg14910.html

- When you try to uninstall an app, and you click on the [ Uninstall ] button in Applications, you're taken to a confirmation screen.
- On this confirmation screen place a checkbox (or the like) below the [ Confirm ] button, labelled "Remove application data", unchecked by default.
- There could be some additional small print explaining what this is all about, either immediately or as soon as the checkbox is being checked (preferred). There's plenty space on the confirmation page. At least on the Aquaris E5.
- (In addition, I feel the [ Confirm ] button should say [ Uninstall ] to make it more explicit what's going to happen.)

I know this additional choice clutters the confirmation page a bit, but ... it's for a good purpose.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in click (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.