Bug 442920

Summary: "Fetching updates" has too large timeout
Product: [Applications] Discover Reporter: David <david.cortes.rivera>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, aspotashev, nate
Priority: NOR    
Version First Reported In: 5.21.5   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.22
Sentry Crash Report:

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.