Summary: | Updates page is super slow when it has a lot of offline updates | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | Nate Graham <nate> |
Component: | Updates (offline) | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aleixpol |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/discover/-/commit/49a5ef9a5461d4d896e3928319f8b02b9a4c1f4b | Version Fixed In: | 6.0.4 |
Sentry Crash Report: |
Description
Nate Graham
2023-01-18 16:06:57 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/793 Git commit 0e00a2295ca0f76738c72a068bca38e74057b0c2 by Harald Sitter. Committed on 27/03/2024 at 00:15. Pushed by sitter into branch 'master'. packagekitresource: do not load dependencies on construction there is a limit on how many transaction we can have, don't exhaust them by querying dependencies of updates when we'll possibly not need the information at all. this restores the previous behavior of only requesting dependency information when sizeDescription is called. to facilitate this change the dependencies class now has a getter on whether dependencies are loaded M +8 -1 libdiscover/backends/PackageKitBackend/PackageKitDependencies.cpp M +3 -1 libdiscover/backends/PackageKitBackend/PackageKitDependencies.h M +9 -6 libdiscover/backends/PackageKitBackend/PackageKitResource.cpp https://invent.kde.org/plasma/discover/-/commit/0e00a2295ca0f76738c72a068bca38e74057b0c2 Git commit 49a5ef9a5461d4d896e3928319f8b02b9a4c1f4b by Harald Sitter. Committed on 27/03/2024 at 00:29. Pushed by sitter into branch 'Plasma/6.0'. packagekit: only resolve dependencies for resources in None state there is little to no meaning to be gained from knowing the dependencies of an installed package (cherry picked from commit b605a442ed23675f152b3a0706d03e739c5fd6ba) M +4 -0 libdiscover/backends/PackageKitBackend/PackageKitResource.cpp https://invent.kde.org/plasma/discover/-/commit/49a5ef9a5461d4d896e3928319f8b02b9a4c1f4b |