Bug 403697 - When trying to remove Flatpak repo, prompt to remove all apps from that repo rather than failing with a bad error message
Summary: When trying to remove Flatpak repo, prompt to remove all apps from that repo ...
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: Flatpak Backend (show other bugs)
Version: 5.14.90
Platform: Neon Linux
: HI normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: usability
: 417581 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-01-28 15:35 UTC by Alexander Mentyu
Modified: 2020-02-20 18:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.19.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Mentyu 2019-01-28 15:35:06 UTC
STEPS TO REPRODUCE
1. Open 'Sources' page.
2. Try to remove any Flatpak repo with currently installed packages - for example - https://firefox-flatpak.mojefedora.cz/org.mozilla.FirefoxRepo.flatpakrepo

OBSERVED RESULT
'Failed to remove the source...'  popup error is shown.

EXPECTED RESULT
1. Remove currently installed Flatpak repo packages popup is shown.
2. After removing installed repo package - Flatpak repo itself is removed.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Developer Edition
KDE Plasma Version: 5.15.80
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.2
Kernel Version: 4.15.0-42-generic
Comment 1 Nate Graham 2019-02-06 00:36:41 UTC
Confirmed. In this case, we should display a sheet with the following text and buttons:


This source has been used to install the following applications:
- App 1
- App 2
- App 3
- etc

Would you like to remove these applications as well, or just remove the source?


         [Remove source and apps]   [Just remove source]   [Cancel]
Comment 2 Nate Graham 2020-02-15 23:03:49 UTC
*** Bug 417581 has been marked as a duplicate of this bug. ***