Trying to install something with no Internet access, Discover simply don't do anything (install button go grey and return back green) and user should be annoyed. STEPS TO REPRODUCE 1. Disconnect Internet 2. Try to install something EXPECTED RESULT Perhaps a simply message with "No Internet access" or something similar should be sufficient. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon 5.15.2 (available in About System) KDE Plasma Version: 5.15.2 KDE Frameworks Version: 5.55.0 Qt Version: 5.12.0
Git commit 13557f71e486b5711d1bd686526a88b5219adf9e by Aleix Pol. Committed on 07/03/2019 at 00:28. Pushed by apol into branch 'Plasma/5.15'. flatpak: Report errors when running a transaction M +3 -0 libdiscover/backends/FlatpakBackend/FlatpakTransactionThread.cpp https://commits.kde.org/discover/13557f71e486b5711d1bd686526a88b5219adf9e
That commit only affects Flatpak transactions and only results in an error being printed to the console, not anywhere in the UI. If I navigate to a Flatpak app, disable the network connection, and click "Install", nothing happens in the UI, even though the following is printed to the console: flatpak-Message: 15:44:52.382: Error updating remote metadata for 'flathub': Error resolving “dl.flathub.org”: Temporary failure in name resolution That's not a particularly user-friendly error message, but displaying it in the UI would be better than doing nothing. Even better would be substituting a user-friendly string.
I'm pretty sure I did get a passive notification, which then is the front-end responsibility to manage.
Hmm, I didn't see one when I tried this out.
Created attachment 119462 [details] screenshot with the error message
As shown in the screenshot.
*** Bug 404235 has been marked as a duplicate of this bug. ***