Bug 402897 - Give more feedback when fetching updates
Summary: Give more feedback when fetching updates
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.14.4
Platform: Other Linux
: HI wishlist
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2019-01-05 16:22 UTC by Felipe Peter
Modified: 2019-03-17 17:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.16.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felipe Peter 2019-01-05 16:22:00 UTC
SUMMARY
To be honest I don't like using discover to search for updates because it does not give any feedback on the update progress. If I use apt update from the cli, it gives me some visual indication that it is actually doing something. I am in China right now where some repositories are blocked by the Great Firewall. That means that Discover doesn't give me any response until the connection times out.

SUGGESTION
How about having some load indicator showing which repositories have been checked and how many are pending and maybe even a live count of found upgradable packages?


This has been addressed in Bug 375786 (no clue how to link, sorry) but nothing has been done in that regard and it is one of the major reasons why I prefer the command line over Discover.
Comment 1 Nate Graham 2019-01-06 14:42:31 UTC
> SUGGESTION
> How about having some load indicator showing which repositories have been
> checked and how many are pending and maybe even a live count of found
> upgradable packages?
Yep. This is on my to-do list.
Comment 2 Øystein Steffensen-Alværvik 2019-02-14 15:06:32 UTC
(In reply to Nate Graham from comment #1)
> > SUGGESTION
> > How about having some load indicator showing which repositories have been
> > checked and how many are pending and maybe even a live count of found
> > upgradable packages?
> Yep. This is on my to-do list.

This would also avoid confusion when some sources finish checking before others. On slow connections it may take several minutes to fetch a large package list. On my system, for instance, flatpak will finish checking first and then apt several minutes later – so the flatpak updates are displayed but the "Update all" button greyed out. Of course Discover's still checking for updates, but it looks as though it finished.
Comment 3 Nate Graham 2019-03-17 17:09:25 UTC
Git commit 95c39a6f7f2bf7ddf69d8aef558012fe2dff305d by Nate Graham.
Committed on 17/03/2019 at 17:00.
Pushed by ngraham into branch 'master'.

Improve update states' UI

Summary:
- Add a busy indicator when something is refreshing or checking
- Update strings to be a bit more user-friendly
- Don't change the Update page's title; status is adequately indicated by the footer text already
Related: bug 396140
FIXED-IN: 5.16.0

Test Plan:
For example:
{F6698086, size=full}

Reviewers: apol, #vdg, #discover_software_store

Reviewed By: apol, #discover_software_store

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19825

M  +1    -1    discover/qml/DiscoverWindow.qml
M  +19   -12   discover/qml/UpdatesPage.qml

https://commits.kde.org/discover/95c39a6f7f2bf7ddf69d8aef558012fe2dff305d