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
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]
*** Bug 417581 has been marked as a duplicate of this bug. ***
Just implemented in https://cgit.kde.org/discover.git/commit/?id=0937ac6e335b10cfa5f09c2d91fe3453a33a96cd!