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: ---   
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: 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.