Thanks for the patch, but it's not the correct approach.
You need to find on Fedora if a folder exist where all desktop files of all the applications available on the repositories exist (if such thing exist on Fedora ?), the equivalent of /usr/share/app-install/desktop.
You need to test if the folder exist before trying to search on this. Instead, you should not move finish_scanning_available() outside the loop (this will break when /usr/share/app-install/desktop is available).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Compiled a fresh git snapshot just now, hoping commit ee4fe274fa78e0183d0a8d60ed85ab836866c312 would resolve this issue. But without the patch, we are back to a hanging session. This time however, the log shows:
Great, patch appears to be working fine!
Thanks for the patch, but it's not the correct approach.
You need to find on Fedora if a folder exist where all desktop files of all the applications available on the repositories exist (if such thing exist on Fedora ?), the equivalent of /usr/share/app-install/desktop.
You need to test if the folder exist before trying to search on this. Instead, you should not move finish_scanning_available() outside the loop (this will break when /usr/share/app-install/desktop is available).
Compiled a fresh git snapshot just now, hoping commit ee4fe274fa78e0183d0a8d60ed85ab836866c312 would resolve this issue. But without the patch, we are back to a hanging session. This time however, the log shows:
** Message: desktop-files-backend.vala:265: /usr/share/app-install/desktop doesn't exist. Pass
** Message: desktop-files-backend.vala:189: Signal finish scanning with mode: write
** Message: desktop-files-backend.vala:341: Finishing scanning
And after that, nothing ...
It should be fixed now in git.