Bug 442920 - "Fetching updates" has too large timeout
Summary: "Fetching updates" has too large timeout
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.21.5
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-25 01:29 UTC by David
Modified: 2021-11-03 17:18 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.22
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2021-09-25 01:29:12 UTC
SUMMARY
Sometimes, discover gets stuck fetching updates for too many minutes, even though updates from many sources are already fetched. If I hover the mouse above it, it shows a blue pop-up mentioning something about the flat pack backend at 42%. After many minutes it skips those and works correctly, but this behavior is very annoying.

STEPS TO REPRODUCE
Not sure.

OBSERVED RESULT
Discover gets stuck in "fetching updates".

EXPECTED RESULT
If an update is not fetcheable, should skip and show the rest that are available right now.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-09-27 20:05:24 UTC
This was fixed in Plasma 5.22 and the update fetching speed is substantially faster in Plasma 5.23.
Comment 2 David 2021-11-02 17:08:42 UTC
(In reply to Nate Graham from comment #1)
> This was fixed in Plasma 5.22 and the update fetching speed is substantially
> faster in Plasma 5.23.

I am still experiencing this issue in plasma 5.23.
Comment 3 Nate Graham 2021-11-03 17:17:14 UTC
Does it happen only with the flatpak backend?

Test the following:

1. plasma-discover --backends packagekit-backend
2. plasma-discover --backends flatpak-backend

If it's only slow with the Flatpak backend, then this is probably Bug 443555.
Comment 4 David 2021-11-03 17:18:58 UTC
(In reply to Nate Graham from comment #3)
> Does it happen only with the flatpak backend?
> 
> Test the following:
> 
> 1. plasma-discover --backends packagekit-backend
> 2. plasma-discover --backends flatpak-backend
> 
> If it's only slow with the Flatpak backend, then this is probably Bug 443555.

Haven't tried that yet, but that bug says five minutes, while in my cases it can be many hours.