Bug 510370

Summary: Appstream URLs are incorrect preventing packagekit integration and discover fallback from finding packages
Product: [Applications] dolphin Reporter: Oliver Beard <olib141>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dolphin-bugs-null, kdedev
Priority: NOR    
Version First Reported In: 25.08.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Oliver Beard 2025-10-08 01:14:17 UTC
SUMMARY
In Dolphin, appstream URLS are incorrectly suffixed with ".desktop". This means that packagekit integration fails to find the package, and instead falls back to opening the URL. This also fails because Discover also cannot find the package.

Tangentially, we might also consider only providing the fallback route here. It doesn't seem necessary to handle installation ourselves, only to point the user to the right place (for us, Discover), and respond to success.

e.g. appstream://org.kde.kfind.desktop, appstream://org.kde.konsole.desktop, appstream://org.kde.filelight.desktop

(https://invent.kde.org/search?search=appstream%3A%2F%2F&nav_source=navbar&project_id=2775&group_id=1561&search_code=true&repository_ref=master)


STEPS TO REPRODUCE
1. Open search bar
2. Filter > Install KFind…