STEPS TO REPRODUCE 1. Start Discover. 2. Open 'Sources' page. 3. Add Flatpak source - like - https://firefox-flatpak.mojefedora.cz/org.mozilla.FirefoxRepo.flatpakrepo 4. Start installing Firefox app from the added Flatpak repo. 5. Press 'Delete the origin' button near the Flatpak source on 'Sources' page during installation of Firefox. OBSERVED RESULT The Flatpak source is removed without any error. EXPECTED RESULT 'Failed to remove the source' error popups without removing the source. 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 ADDITIONAL INFORMATION When the Firefox app is installed 'Failed to remove the source' error popups without removing the source after pressing the 'Delete the origin' button.
Actually, what should happen here is that the "remove" button for a source should be disabled while that source is currently being used to install an app--or even just while any installation or upgrade operation is in progress. I tried adding "enabled: !resourcesModel.isBusy" and "enabled: !appsModel.isBusy" to the action but neither of those had any effect.