Lately kde discover has been verry laggy particularly when clicking the installed apps tab or when fetching updates. Also It failes to show screenshots for apps comming from the ubuntu source. I tried debugging it and this is what i got
looking up wrong category or too early "Development"
org.kde.plasma.libdiscover: CategoriesReader: Load categories from file "/usr/share/libdiscover/categories/flatpak-backend-categories.xml" with l10n true
org.kde.plasma.libdiscover: CategoriesReader: Couldn't find a category for "fwupd-backend"
org.kde.plasma.libdiscover: CategoriesReader: Load categories from file "/usr/share/libdiscover/categories/packagekit-backend-categories.xml" with l10n true
org.kde.plasma.libdiscover: CategoriesReader: Couldn't find a category for "snap-backend"
qt.qpa.services: Failed to register with host portal QDBusError("org.freedesktop.portal.Error.Failed", "Could not register app ID: Connection already associated with an application ID")
PackageKitBackend: No distro component found for "com.ubuntu.ubuntu"
fwupd: Device not supported: UEFI dbx No releases found
AppStreamIntegration: No distro component found for "com.ubuntu.ubuntu"
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:19:1: QML ApplicationPage: Created graphical object was not placed in the graphics scene.
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:116:5: QML ReviewsPage: Binding loop detected for property "implicitHeight":
qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:139:5
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:116:5: QML ReviewsPage: Binding loop detected for property "y":
qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:117:5
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:116:5: QML ReviewsPage: Binding loop detected for property "implicitHeight":
qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:139:5
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:923:5: QML AddonsView: Binding loop detected for property "implicitHeight":
qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:139:5
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:923:5: QML AddonsView: Binding loop detected for property "y":
qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:117:5
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:116:5: QML ReviewsPage: Binding loop detected for property "y":
qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:117:5
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:116:5: QML ReviewsPage: Binding loop detected for property "implicitHeight":
qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:139:5
qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:923:5: QML AddonsView: Binding loop detected for property "implicitHeight":
qrc:/qt/qml/org/kde/kirigami/templates/OverlaySheet.qml:139:5
qrc:/qt/qml/org/kde/kirigami/controls/private/PrivateActionToolButton.qml:74:5: QML Binding: Binding loop detected for property "value":
qrc:/qt/qml/org/kde/kirigami/controls/private/PrivateActionToolButton.qml:77:9
qrc:/qt/qml/org/kde/discover/qml/CarouselDelegate.qml:161:33: QML QQuickImage: SSL handshake failed: The certificate has expired
qrc:/qt/qml/org/kde/discover/qml/CarouselDelegate.qml:161:33: QML QQuickImage: SSL handshake failed: The certificate has expired
qrc:/qt/qml/org/kde/discover/qml/CarouselDelegate.qml:161:33: QML QQuickImage: SSL handshake failed: The certificate has expired
qrc:/qt/qml/org/kde/discover/qml/CarouselDelegate.qml:184:33: QML QQuickImage: SSL handshake failed: The certificate has expired
qrc:/qt/qml/org/kde/discover/qml/CarouselDelegate.qml:184:33: QML QQuickImage: SSL handshake failed: The certificate has expired
qrc:/qt/qml/org/kde/discover/qml/CarouselDelegate.qml:184:33: QML QQuickImage: SSL handshake failed: The certificate has expired
org.kde.plasma.libdiscover: reviews arrived... 0 861
Here are the steps I tried taking to fix it:
sudo rm -rf /var/cache/appstream/*
851 clear
852 sudo apt update --fix-missing
853 sudo appstreamcli refresh --force
854 sudo pkill -f packagekitd
855 sudo rm -rf /var/cache/PackageKit/*
856 pkcon refresh force
857 rm -rf ~/.cache/discover
858 rm -rf ~/.cache/PackageKit
859 sudo appstreamcli refresh --force
860 sudo apt install packagekit packagekit-tools plasma-discover-backend-packageki
861 sudo apt install packagekit packagekit-tools plasma-discover-backend-packagekit
867 sudo apt update
868 sudo apt install --reinstall appstream appstream-q
I have to note that it was always that slow on installed tab from possibly the day I upgraded but most of my attempts didnt work