Delete configuration and local files of app

Bug #1499971 reported by Krzysztof Tataradziński
50
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
High
Alejandro J. Cura
Ubuntu UX
Fix Committed
High
Femma
click (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hello,
Suppose that we have XYZ app. It's used for offline navigation. And we have got 2 GB of maps in ~/.local/share/XYZ***/.
After few time we lost interest it that app and we uninstall it. Problem will appear when our device will be running out of space. In that time we figured out that we've got some offline maps in local folder. But if we don't remember where is it, we need to search it for a long while.
I think the best solution would be that one - while uninstalling procedure, OS will ask if we want to delete configuration and all other local files from ~/.local/share/XYZ***
What do you think guys?

UX Fix:
Attached as a screen shot in the comments section below.

summary: - Delete configuration files of app
+ Delete configuration and local files of app
Revision history for this message
Krzysztof Tataradziński (ktatar156) wrote :

Another example why local files of an app should be also removed automatically:
on phones we usually try much more apps than on desktop and it causes in short time mess, which is a large number of local folders ~/.local/share/name-of-app.author/

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

There is a philosophical decision to never remove user data. However this is a good example where presenting the option would be useful. I think there is a dupe of this report but cannot find it now.

Changed in canonical-devices-system-image:
assignee: nobody → Alejandro J. Cura (alecu)
importance: Undecided → High
milestone: none → backlog
status: New → Confirmed
Revision history for this message
Krzysztof Tataradziński (ktatar156) wrote :

A good solution would be to display a window with question to delete personal app data during uninstall process of the application (and possibly some option to view the files).

Changed in ubuntu-ux:
assignee: nobody → Matthew Paul Thomas (mpt)
importance: Undecided → High
status: New → Triaged
Femma (femma)
Changed in ubuntu-ux:
assignee: Matthew Paul Thomas (mpt) → Femma (femma)
Revision history for this message
Femma (femma) wrote :

UX fix in the image.

description: updated
Changed in ubuntu-ux:
status: Triaged → Fix Committed
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
Revision history for this message
Matthew Paul Thomas (mpt) wrote :

If you remove an app and choose not to remove the settings+data:

1. What is the UI for accessing that data afterwards? If the answer is, "there is none", what was the point?

2. What is the UI for removing the data later? If the answer is, "there is none", then will your phone gradually fill with data left by apps where you tapped the wrong button when removing them?

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

This is a duplicate of bug 1454448, which is marked as a duplicate of bug 1358294.

Revision history for this message
Krzysztof Tataradziński (ktatar156) wrote :

I think that is not duplicate, because apps use also .local/share/app-name to keep their files.

Revision history for this message
Alberto Mardegan (mardy) wrote :

Note that in this specific case, these maps applications are wrong: map data should be stored under ~/.cache/, not ~/.local/share/.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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