Bug 398746 - "Manage application" takes a long time to open the application in Discover
Summary: "Manage application" takes a long time to open the application in Discover
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.13.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-17 06:46 UTC by Antonio Rojas
Modified: 2018-09-20 11:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2018-09-17 06:46:36 UTC
When clicking "Magage application" from kicker context menu, discover takes a really long time (1 minute here) to display the application. It seems that it doesn't do it until it's done checking for updates, which can take a long time.
Comment 1 Nate Graham 2018-09-18 01:57:46 UTC
Cannot reproduce with git master on Neon or 5.12.6 on Kubuntu 18.04. It's near-instant for me on these systems.
Comment 2 Antonio Rojas 2018-09-19 08:27:41 UTC
It depends on which backends and providers you have installed (in my case, the offending one is the knsrc from kalzium). The issue is not how long it takes, but the fact that nothing is displayed until the check for updates is finished for all backends (which may potentially take a long time).
Comment 3 Aleix Pol 2018-09-20 11:01:56 UTC
Git commit fb9320ae8b37182fae91bf31757fada44329b529 by Aleix Pol.
Committed on 20/09/2018 at 11:00.
Pushed by apol into branch 'Plasma/5.14'.

Don't wait for all backends to be initialized to trigger a query

Backends should be smart enough to take the query regardless of their
state.

M  +3    -3    discover/DiscoverObject.cpp

https://commits.kde.org/discover/fb9320ae8b37182fae91bf31757fada44329b529