SUMMARY Discover never shows the prompt to delete leftover flatpak data after uninstalling or opening a page of a formerly installed flatpak with leftover data (despite it having done so in 5.27 and possibly 6.0.x but I unfortunately have foggy memory in regards to this) STEPS TO REPRODUCE 1. Install and open flatpak app 2. Uninstall flatpak 3. Wait for Discover to give the "FlatpakApp is not installed but it still has data present" prompt OBSERVED RESULT Discover doesn't show the leftover data deletion prompt, not allowing the user to remove leftover data via Discover EXPECTED RESULT Discover should show the prompt, and remove leftover flatpak data. SOFTWARE/OS VERSIONS Operating System: EndeavourOS KDE Plasma Version: 6.1.2 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.2 Kernel Version: 6.6.37-1-lts (64-bit) Graphics Platform: Wayland ADDITIONAL INFORMATION Was reproducible on another device running Fedora KDE 40 with Plasma 6.1.1.2
Seems to work fine on master (6.2). Indeed looking at the code I don't see how this could break exactly; it's literally just checking if ~/.var/$flatpakid exists. Does this happen with all flatpaks or maybe just specific ones?
(In reply to Harald Sitter from comment #1) > Seems to work fine on master (6.2). Indeed looking at the code I don't see > how this could break exactly; it's literally just checking if > ~/.var/$flatpakid exists. > > Does this happen with all flatpaks or maybe just specific ones? I've gotten it working on a fresh image of Neon Testing (build date 2024-07-23), but it's still reproducible on neon stable (build date 2024-07-18, comes with 6.1.2, but prompt doesn't happen on 6.1.3 after updating regardless), fedora kde 40 (on 6.1.3), and endeavourOS/Arch Plasma (on 6.1.3) This seems to be fixed in some nightly bugfix branch, not sure what fixes it tho :l maybe something like https://invent.kde.org/plasma/discover/-/merge_requests/875 ?
Ah good catch. That is indeed the relevant fix. *** This bug has been marked as a duplicate of bug 489745 ***