Bug 2226825

Summary: Discover does not show app details when installed on non-KDE desktops (missing RPM dependency)
Product: [Fedora] Fedora Reporter: kelson
Component: plasma-discoverAssignee: Rex Dieter <rdieter>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 38CC: kde-sig, rdieter
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
URL: https://hyperborea.org/tech-tips/discover-fedora/
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-28 13:36:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description kelson 2023-07-26 16:33:43 UTC
On a system without a full KDE environment, if I install just Plasma Discover (whether through dnf or through Gnome Software), I get a partially-working Discover app. It loads, and it shows categories and lists of apps, but it can't load the info page for an application. I was able to get it to work by also installing the kf5-purpose package through dnf.

Reproducible: Always

Steps to Reproduce:
1. Take a Fedora 38 system without KDE (I found this on Gnome)
2. Install the plasma-discover RPM (dnf or GNOME Software)
3. Run Discover
4. Click on an application entry for more information.
Actual Results:  
Nothing happens in the GUI.

If you run it from the command-line, the console outputs

file:///usr/lib64/qt5/qml/org/kde/kirigami.2/PageRow.qml:914: Error: Error while loading page: qrc:/qml/ApplicationPage.qml:15 module “org.kde.purpose” is not installed

Expected Results:  
Discover should switch to a page showing additional detail, description, reviews, etc. for the application.

Installing kf5-purpose via dnf solves the problem. So making it a dependency for the plasma-discover RPM should fix it.

Comment 1 Aoife Moloney 2024-05-28 13:36:01 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 2 kelson 2024-05-28 15:14:23 UTC
This is still present on Fedora 40, only now the error is about QT6:

file:///usr/lib64/qt6/qml/org/kde/kirigami/PageRow.qml:1078: Error: Error while loading page: qrc:/qt/qml/org/kde/discover/qml/ApplicationPage.qml:17 module "org.kde.purpose" is not installed

and installing kf6-purpose isn't sufficient to solve the problem:

qrc:/qt/qml/org/kde/discover/qml/ReviewsPage.qml:15 module "org.kde.kitemmodels" is not installed

Installing both kf6-purpose and kf6-kitemmodels via dnf makes it possible for plasma-discover to show information about individual applications.

The application clearly depends on these packages, but the RPM doesn't, and should.