Software thinks it can install apps from a disabled repo
Steps to reproduce:
- First make sure you have some extra repositories installed, like RPM Fusion.
- Open Software, and from the app menu, enter the Software Repositories dialog.
- Disable a repository.
- Search Software for an app that you don't already have installed, and is provided by the repo you just disabled. Click on it to view its details page.
Actual results: There will be an "Install" button on the page, and clicking it will show an error toast of "Unable to install app name: Failed to find package name"
Expected results: There should be an "Install..." button on the page, and clicking it will prompt you to enable the repo that provides the app in order for it to be installed.
Note that this can be fixed by restarting Gnome Software with
pkill gnome-software & opening a new window.