I recently installed chromium, created a new user and logged into a website. After my work was done, I removed chromium with “sudo dnf remove chromium”.
A few days later I installed chromium again through dnf. My user account was still there and I was logged into the same site.
Is there a way to avoid this and uninstall an app along with all its user data?
Yeah, if the dev provided an uninstaller, if that uninstaller really does clean everywhere, and if control panel finds and executes that uninstaller – which in my experience it very often doesn’t.
To me the Flatpak way is better. But yeah, maybe system packages not doing it can be annoying sometimes. I just take issue with you saying it’s not an issue on Windows when it absolutely is, and is IMO worse there.