Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request]: Remove the application cache when uninstalling #5576

Open
2 tasks done
swick opened this issue Nov 2, 2023 · 2 comments
Open
2 tasks done

[Feature request]: Remove the application cache when uninstalling #5576

swick opened this issue Nov 2, 2023 · 2 comments

Comments

@swick
Copy link
Contributor

swick commented Nov 2, 2023

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Suggestion

All the application data currently persists when uninstalling unless --delete-data is used. Uninstall should by default remove the app cache directory.

The element matrix client recently became unusable due to some shader cache issue and removing the cache made the application usable again. Unfortunately in this case the cache wasn't in the standard directory but it shows that caches can be the source of bugs, or removing caches can sometimes work around issues.

Users should not be aware of concepts like caches and their usual process of fixing things is removing and installing something again. If that process would wipe the cache, the chances of a user ending up with a working app again is higher.

@Mikenux
Copy link

Mikenux commented Nov 3, 2023

Seems reasonable.

Users should not be aware of concepts like caches and their usual process of fixing things is removing and installing something again.

Note that in GNOME we have the "Clear Cache" option (Settings > Apps > AnApp > Storage). However, it might be interesting if you open an issue in GNOME about this because, in my opinion, reinstalling an app is not better if the cause is only the cache (that means redownloading the app).

@BrandowLucas

This comment was marked as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants