Software search forever loading if app installing or uninstalling in parallel
I've been having this issue for a long time, and I think I finally managed to find a reliable reproducer.
The issue here is that searching in GNOME Software gets forever stuck - even when the search term is changed, or after leaving and re-entering the search view.
Steps to reproduce:
- Search for any uninstalled app (I'll use "Notejot" as an example)
- GNOME Software correctly searches and returns a list of results
- Open the Notejot, click the install button
- Before the install op is finished, go back to the search view and search for something else (say, "calendar")
- GNOME Software will show results
- (Wait for the install operation of step 4 to finish)
- The search page will reload, and probably will stay forever in the loading state
I have the output of gnome-software --verbose
with most plugins disabled except the Flatpak plugin: gnome-software-log