UI is ununsable when package downloads are in progress
When we click Download
button in the Updates
page, the download starts. This is accomplished by the PackageKit update-packages
role with download-only
flag set. This transaction takes a really long time, and the entire UI is unusable during this entire period (e.g. clicking on an app to view app details), which is really not good.
Download
is an operation which can be rescheduled (cancelled and replaced with a new transaction to be added to the end of the waiting queue). When a download is in progress, if there are other transactions (get-details
/ search-file
/ resolve
etc ) in the READY
/ WAITING
state, we can reschedule the Download
transaction. This will result in a very responsive UI.
I am not sure who is the right authority to do the rescheduling, PackageKit or GNOME Software. I'm filing a bug here and will move to PackageKit if necessary.
cc: @mak