App data and config files are not removed when an app is uninstalled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
High
|
Pat McGowan | ||
Ubuntu UX |
Triaged
|
High
|
Paty Davila | ||
click (Ubuntu) |
In Progress
|
High
|
Michael Vogt | ||
ubuntu-system-settings (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
unity-scope-click (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
If an app uses ~/.config/foo (say, uses Qt.labs.settings), and the user uninstalls the app, ~/.config/foo is not removed. It should be deleted when the app is uninstalled.
Using latest utopic on the phone.
-------
Desired resolution:
- When a user deletes an app, 100% of files associated with the app should be deleted.
- A warning notification should be displayed when a user goes to delete an app informing them that this action will also delete any data they have stored inside the app. This notification should give the options of cancelling or proceeding with the action.
- Users should not be allowed to delete the key apps that ship with the phone. These key apps are defined as: Dialler, Address book, Messaging, Browser, Camera, Music player
The above will give the user a simple easy to understand mental model while simultaneously protecting the user from deleting important content within the default apps.
Related branches
- dobey: Disapprove
- Alejandro J. Cura (community): Needs Fixing
- Colin Watson (community): Needs Fixing
-
Diff: 230 lines (+155/-13)4 files modifiedclick/tests/test_user.py (+104/-0)
lib/click/database.vala (+2/-12)
lib/click/osextras.vala (+22/-0)
lib/click/user.vala (+27/-1)
Changed in click (Ubuntu): | |
importance: | Low → High |
tags: | added: patch |
tags: | added: ubuntu-ux |
Changed in ubuntu-ux: | |
assignee: | nobody → John Lea (johnlea) |
status: | New → In Progress |
importance: | Undecided → High |
Changed in click (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Michael Vogt (mvo) |
Changed in unity-scope-click (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
summary: |
- App .config not removed when app uninstalled + App data and config files are not removed when an app is uninstalled |
no longer affects: | band-aids-uphone |
Changed in ubuntu-ux: | |
assignee: | John Lea (johnlea) → Paty Davila (dizzypaty) |
Changed in ubuntu-ux: | |
status: | New → Triaged |
Don't expect this to be addressed before RTM, since it involves click gaining a lot of new knowledge about how app data is laid out that is currently entirely out of its scope.