https://bugs.kde.org/show_bug.cgi?id=458490
Bug ID: 458490 Summary: Discover deleted the whole ~/.var folder when open a .flatpak file Product: Discover Version: 5.25.4 Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Flatpak Backend Assignee: plasma-b...@kde.org Reporter: dtco...@gmail.com CC: aleix...@kde.org, jgrul...@redhat.com, trav...@redhat.com Target Milestone: --- Created attachment 151692 --> https://bugs.kde.org/attachment.cgi?id=151692&action=edit screenshoot I have downloaded a .flatpak file (not .flatpakref file) and opened with Discover, then it prompted message "xx.xx.xx(flatpak app dns name) is not installed but it still has data present" with a button "Delete settings and user data" , if click that button then Discover will delete the ~/.var folder. I was lucky that I had regular backups of my data so I didn't suffer a huge loss. I think the message is told me that there is already a data directory in my ~/.var/app for the opened .flatpak app, but in fact my ~/.var/app didn't have.The whole prompt and button misled me into thinking it was just deleting the data for a specific flatpak app under ~/.var/app, but then I pressed the button and realized it was deleting the entire ~/.var folder. Fedora36 , Plasma5.25.4 , KDE framework 5.97.0 , QT 5.15.5 , Kernel 5.19.4-200.fc36.x86_64 -- You are receiving this mail because: You are watching all bug changes.